新手在线求助vue+element 访问http://localhost:3000/#/,页面总是显示Helloworld

访问http://localhost:3000/#/,页面总是显示Helloworld

main.js代码

import Vue from 'vue'
import App from './App'
import router from './router'
import ElementUI from 'element-ui'
import 'font-awesome/css/font-awesome.min.css'
import '@/assets/theme/element-theme/index.css'

Vue.config.productionTip = false

Vue.use(ElementUI)
/ eslint-disable no-new /
new Vue({
el: '#app',
router,
components: {

App
},
template: '<App/>'
}) 

router index.js

 import Vue from 'vue'
import Router from 'vue-router'
import Home from '@/components/Home'
import Dashboard from '@/components/Dashboard'

Vue.use(Router)

// 懒加载方式,当路由被访问的时候才加载对应组件
const Login = resolve => require(['@/components/Home'], resolve)

let routes = [{
path: '/',
component: Home,
hidden: true,
children: [{

path: '/',
component: Dashboard,
name: '首页'
}]
}]

const router = new Router({
routes: routes
})

export default router

劳烦各位帮小弟看看

vue

2个回答

let routes = [{
path: '/',
component: Home,
hidden: true,
children: [{

path: '/',
component: Dashboard,
name: '首页'
}]
}]

两个path都是'/'问题大概在这里

去app.vue中看看你就知道了,你这里做的配置只是通过拼接起来的
主页面还是app.vue ,应该是在app.vue里面写了内容,所以导致每个页面都会显示

Csdn user default icon
上传中...
上传图片
插入图片
抄袭、复制答案,以达到刷声望分或其他目的的行为,在CSDN问答是严格禁止的,一经发现立刻封号。是时候展现真正的技术了!
其他相关推荐
新手在线求助vue+element 访问http://localhost:3000/#/,页面总是显示Helloworld

**访问http://localhost:3000/#/,页面总是显示Helloworld** main.js代码 ``` import Vue from 'vue' import App from './App' import router from './router' import ElementUI from 'element-ui' import 'font-awesome/css/font-awesome.min.css' import '@/assets/theme/element-theme/index.css' Vue.config.productionTip = false Vue.use(ElementUI) / eslint-disable no-new / new Vue({ el: '#app', router, components: { App }, template: '<App/>' }) ``` router index.js ``` import Vue from 'vue' import Router from 'vue-router' import Home from '@/components/Home' import Dashboard from '@/components/Dashboard' Vue.use(Router) // 懒加载方式,当路由被访问的时候才加载对应组件 const Login = resolve => require(['@/components/Home'], resolve) let routes = [{ path: '/', component: Home, hidden: true, children: [{ path: '/', component: Dashboard, name: '首页' }] }] const router = new Router({ routes: routes }) export default router ``` 劳烦各位帮小弟看看

角度错误:http:// localhost:3000 / login的Http失败响应:404 not found

<div class="post-text" itemprop="text"> <p>I want to get login information that user enters at backend. Here is the backend code :- </p> <pre><code>package main import ( "fmt" "net/http" "github.com/gorilla/mux" "github.com/gorilla/handlers" "encoding/json" "log" ) type LoginDetails struct { Username string `json:"username"` Password string `json:"password"` } func login(w http.ResponseWriter, req *http.Request) { var loginData LoginDetails err := json.NewDecoder(req.Body).Decode(&amp;loginData) if err!=nil{ panic(err) } } func main() { fmt.Println("Starting server at http://localhost:3000...") router := mux.NewRouter() router.PathPrefix("/").Handler(http.FileServer(http.Dir("./static/dist/static"))) router.HandleFunc("/login", login) headersOk := handlers.AllowedHeaders([]string{"Authorization"}) methodsOk := handlers.AllowedMethods([]string{"GET", "POST", "OPTIONS"}) log.Fatal(http.ListenAndServe(":3000", handlers.CORS( headersOk, methodsOk)(router))) } </code></pre> <p>Angular code :- </p> <p><strong>login.component.ts</strong> file :- </p> <pre><code>import { Component, OnInit } from '@angular/core'; import { FormGroup, FormControl, FormBuilder } from '@angular/forms'; import { HttpErrorResponse} from '@angular/common/http'; import { LoginService } from './login.service'; import { LoginDetails } from './login'; @Component({ selector: 'app-login', templateUrl: './login.component.html', styleUrls: ['./login.component.css'], providers : [LoginService, LoginDetails] }) export class LoginComponent implements OnInit { loginForm : FormGroup; constructor(private loginData : LoginDetails, private loginservice: LoginService, private _formBuilder : FormBuilder){} ngOnInit() { this.loginForm = this._formBuilder.group({ username : ['username'], password : ['password'] }) } OnSubmit(){ this.loginData.username = this.loginForm.controls.username.value; this.loginData.password = this.loginForm.controls.password.value; this.loginservice.loginUser(this.loginData).subscribe(response =&gt; { console.log(response) },(err: HttpErrorResponse) =&gt; { console.log(err); }); } } </code></pre> <p><strong>login.service.ts</strong> file :- </p> <pre><code>import { Injectable } from '@angular/core'; import { HttpClient, HttpClientModule, HttpHeaders} from '@angular/common /http'; import { Observable } from 'rxjs'; import { LoginDetails } from './login' @Injectable() export class LoginService{ private _url : string = "http://localhost:3000/login"; constructor( private http : HttpClient){} loginUser(loginData : LoginDetails): Observable &lt;any&gt;{ console.log(loginData) return this.http.post(this._url, loginData, {responseType : 'text'}); } } </code></pre> <p>Error I receive is this :- <code>POST http://localhost:3000/login 404 (Not Found)</code>. </p> </div>

vue.js脚手架项目-地址栏:http://localhost:8080/?#/中的?号哪里来的

地址栏中的?号影响体验,想去掉。之前也是一样的步骤,在运行其他项目时没有出现,偏偏这个就出现,谢谢各位大神

XMLHttpRequest无法加载http:// localhost:9090 / receive。 请求的资源上不存在“ Access-Control-Allow-Origin”标头

<div class="post-text" itemprop="text"> <p>I am opening a html file through nginx server and then the html file passes the "POST" request from the dropzone to the nginx server which then proxy_pass to my go server.This go server then accepts the request.</p> <p>But when i try to use my html file and drop something in the dropzone i get the error :</p> <pre><code>XMLHttpRequest cannot load http://localhost:9090/receive. No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://localhost:9009' is therefore not allowed access. </code></pre> <p>PLease help me out.</p> </div>

Rstudio打开显示“无法访问此网站 网址为 http://127.0.0.1:18986/ 的网页可能暂时无法连接,或者它已永久性地移动到了新网址。”怎么解决?

![图片说明](https://img-ask.csdn.net/upload/202003/12/1583979363_879389.png)![图片说明](https://img-ask.csdn.net/upload/202003/12/1583979371_160462.png) Rstudio打开后显示“无法访问此网站 网址为 http://127.0.0.1:18986/ 的网页可能暂时无法连接,或者它已永久性地移动到了新网址。”![图片说明](https://img-ask.csdn.net/upload/202003/11/1583892865_677436.png) 之前用的一直都是3.6.1版本的,春节假期来之后,先装了一个佛跳墙翻墙软件,后来打开RStudio就一直这个样子,卸载重装都不行,请问各位大神该如何解决?其他软件都没问题,可以打开,下边是host打开后的内容![图片说明](https://img-ask.csdn.net/upload/202003/12/1583978899_956412.png)

无法从Web应用程序连接到localhost:3000

<div class="post-text" itemprop="text"> <p>I'm working on some boilerplate code to get a VueJS frontend working with a Go-powered backend (using <code>gorilla/mux</code> for a router):</p> <p>Currently, I seem to have everything working for the most part. I'm serving a static HTML file via Go and rendering Vue stuff with it that's being bundled with webpack (webpack-dev-server currently, not a physical bundle), and I'm having a weird issue:</p> <p>In my browser, Firefox keeps telling me the following:</p> <p><code>Firefox can’t establish a connection to the server at http://localhost:3000/__webpack_hmr.</code></p> <p>Yet, when I change Vue components and save them, they're auto-refreshing in the browser as I would expect. I'm really confused, I guess, I don't know why this is happening.</p> <p>I've tried changing the port that my Go server operates on, and it always seems to fail connection at <code>http://localhost:&lt;Go Server Port&gt;/__webpack_hmr</code>.</p> <p>Any thoughts? Maybe there's a step I'm missing or the setup is more complicated than I thought it was.</p> <p>Do I need to be running an Express server and using the webpack-based Middleware to fix this error? If so, that sounds silly if I'm using Go for the backend (why would I run two servers?). Am I doing something wrong?</p> <p>As for the Go side of things, I've tried both running the Go server on a different port and having the webpack server run on different ports and such, but it always fails to connect at <code>http://localhost:&lt;Go Server Port&gt;/__webpack_hmr</code>. </p> <p>Maybe this is more complicated to set up than I thought it was, or since it seems to be "working", I can safely ignore this error? I dunno.</p> </div>

reactjs+springboot修改表格报错:PUT http://localhost:3000/xxx 405 (Method Not Allowed)

用MyBatis update方法修改数据,页面报错: PUT http://localhost:3000/xxx 405 (Method Not Allowed) SpringBoot后台报错: WARN 12144 --- [nio-8080-exec-5] .w.s.m.s.DefaultHandlerExceptionResolver : Resolved [org.springframework.web.HttpRequestMethodNotSupportedException: Request method 'PUT' not supported] 下面是代码: ``` class StaffEdit extends Component { emptyItem = { name: '', address: '', city: '', stateOrProvince: '', country: '', postalCode: '' }; constructor(props) { super(props); this.state = { item: this.emptyItem }; this.handleChange = this.handleChange.bind(this); this.handleSubmit = this.handleSubmit.bind(this); } async componentDidMount() { if (this.props.match.params.id !== 'new') { const staffAO = await (await fetch(`/api/staff/${this.props.match.params.id}`)).json(); this.setState({item: staffAO}); } } handleChange(event) { const target = event.target; const value = target.value; const name = target.name; let item = {...this.state.item}; item[name] = value; this.setState({item}); } async handleSubmit(event) { event.preventDefault(); const {item} = this.state; await fetch('/api/staff', { method: (item.id) ? 'PUT' : 'POST', headers: { 'Accept': 'application/json', 'Content-Type': 'application/json' }, body: JSON.stringify(item), }); this.props.history.push('/staffs'); } render() { const {item} = this.state; const title = <h2>{item.id ? 'Edit Staff' : 'Add Staff'}</h2>; return <div> <AppNavbar/> <Container> {title} <Form onSubmit={this.handleSubmit}> <FormGroup> <Label for="name">Name</Label> <Input type="text" name="name" id="name" value={item.name || ''} onChange={this.handleChange} autoComplete="name"/> </FormGroup> <FormGroup> <Label for="department">Department</Label> <Input type="text" name="department" id="department" value={item.department || ''} onChange={this.handleChange} autoComplete="Chemistry"/> </FormGroup> <FormGroup> <Label for="position">Position</Label> <Input type="text" name="position" id="position" value={item.position || ''} onChange={this.handleChange} autoComplete="unknown"/> </FormGroup> <div className="row"> <FormGroup className="col-md-4 mb-3"> <Label for="permission">Permission</Label> <Input type="text" name="permission" id="permission" value={item.permission || ''} onChange={this.handleChange} autoComplete="all"/> </FormGroup> </div> <FormGroup> <Button color="primary" type="submit">Save</Button>{' '} <Button color="secondary" tag={Link} to="/staffs">Cancel</Button> </FormGroup> </Form> </Container> </div> } } export default withRouter(StaffEdit); ``` ``` public class StaffManagementController { private StaffManagementFunction function; private final org.slf4j.Logger log = LoggerFactory.getLogger(StaffManagementController.class); public StaffManagementController(StaffManagementFunction function) { this.function = function; } @PutMapping("/staff/{id}") ResponseEntity<StaffManagement> editStaff(@PathVariable Long id, @Valid @RequestBody StaffManagementArgumentObject staffAO) throws Exception { staffAO.setId(id); log.info("Request to update staff: {}", staffAO); StaffManagement result = function.updateStaff(staffAO); return ResponseEntity.ok().body(result); } ``` Controller测试过可以修改数据库,但是用页面调用就报错,新手请高手指教!谢谢了!

菜鸟学习轮播图数据的加载,总是加不成功。请求大神指导

![图片说明](https://img-ask.csdn.net/upload/201812/27/1545897254_678805.jpg) 它总是出这个怎么解决啊? :8080/#/home:1 Access to XMLHttpRequest at 'http://vue.studyit.io/api/getlunbo' from origin 'http://localhost:8080' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource. :8080/#/home:1 Uncaught (in promise) Response {url: "http://vue.studyit.io/api/getlunbo", ok: false, status: 0, statusText: "", headers: Headers, …}

已拦截跨源请求:同源策略禁止读取位于 http://www.betax-serve.com:8086/login 的远程资源。(原因:CORS 头缺少 'Access-Control-Allow-Origin')。

自己做了一个基于Vue-element-ui的管理系统,后端用的phpthink框架,phpstudy+Apache作为后端服务器,在登录时firefox浏览器的控制台报错. ![图片说明](https://img-ask.csdn.net/upload/202004/28/1588067884_890343.png) 开始把问题定位到phpthink的入口文件index.php没有设置请求头,但是在检查index.php文件时发现并没有错误。(附上index.php) ![图片说明](https://img-ask.csdn.net/upload/202004/28/1588068391_867950.png) 再检查服务器,在网上查了很多解决方法修改httpd.conf文件但是也是无济于事,检查host文件 ![图片说明](https://img-ask.csdn.net/upload/202004/28/1588068714_201061.png) 也没发现什么错误。 自己搞了两天了问题始终没有解决!!请求各位大神能够帮忙解决小弟燃眉之急!!

vue启动 cannot get 怎么解决,进来看看

浏览器打印如下: Refused to load the image 'http://localhost:8082/favicon.ico' because it violates the following Content Security Policy directive: "default-src 'none'". Note that 'img-src' was not explicitly set, so 'default-src' is used as a fallback. localhost/:1 Failed to load resource: the server responded with a status of 404 (Not Found) 请问怎么解决 补充,应该是下面的原因引起的,启动时候会报这些错: error in ./src/views/auditmgr/systemreport/component/TimeReport.vue Module build failed: ValidationError: CSS Loader Invalid Options options should NOT have additional properties at validateOptions (D:\yunxiazi-portal-ui\node_modules\schema-utils\src\validateOptions.js:32:11) at Object.loader (D:\yunxiazi-portal-ui\node_modules\css-loader\dist\index.js:44:28) @ ./~/vue-style-loader!./~/css-loader/dist/cjs.js?{"minimize":false,"sourceMap":false}!./~/vue-loader/lib/style-compiler?{"vue":true,"id":"data-v-53530556","scoped":false,"hasInlineConfig":false}!./~/less-loader/dist/cjs.js?{"sourceMap":false}!./~/vue-loader/lib/selector.js?type=styles&index=0!./src/views/auditmgr/systemreport/component/TimeReport.vue 4:14-436 13:3-17:5 14:22-444 @ ./src/views/auditmgr/systemreport/component/TimeReport.vue @ ./~/babel-loader/lib!./~/vue-loader/lib/selector.js?type=script&index=0!./src/views/auditmgr/opsreport/component/OpsReportBase.vue @ ./src/views/auditmgr/opsreport/component/OpsReportBase.vue @ ./~/babel-loader/lib!./~/vue-loader/lib/selector.js?type=script&index=0!./src/views/auditmgr/opsreport/child/OpsTime.vue @ ./src/views/auditmgr/opsreport/child/OpsTime.vue @ ./~/babel-loader/lib!./~/vue-loader/lib/selector.js?type=script&index=0!./src/views/auditmgr/opsreport/OpsReport.vue @ ./src/views/auditmgr/opsreport/OpsReport.vue @ ./src/router/index.js @ ./src/main.js @ multi ./build/dev-client ./src/main.js error in ./src/components/tabs/YabTabBar.vue Module build failed: ValidationError: CSS Loader Invalid Options options should NOT have additional properties at validateOptions (D:\yunxiazi-portal-ui\node_modules\schema-utils\src\validateOptions.js:32:11) at Object.loader (D:\yunxiazi-portal-ui\node_modules\css-loader\dist\index.js:44:28) @ ./~/vue-style-loader!./~/css-loader/dist/cjs.js?{"minimize":false,"sourceMap":false}!./~/vue-loader/lib/style-compiler?{"vue":true,"id":"data-v-6d0be1e9","scoped":false,"hasInlineConfig":false}!./~/less-loader/dist/cjs.js?{"sourceMap":false}!./~/vue-loader/lib/selector.js?type=styles&index=0!./src/components/tabs/YabTabBar.vue 4:14-411 13:3-17:5 14:22-419 @ ./src/components/tabs/YabTabBar.vue @ ./~/babel-loader/lib!./~/vue-loader/lib/selector.js?type=script&index=0!./src/components/tabs/YabTabNav.vue @ ./src/components/tabs/YabTabNav.vue @ ./~/babel-loader/lib!./~/vue-loader/lib/selector.js?type=script&index=0!./src/components/tabs/YabTab.vue @ ./src/components/tabs/YabTab.vue @ ./~/babel-loader/lib!./~/vue-loader/lib/selector.js?type=script&index=0!./src/proxy/record/sidebar/RecordSidebar.vue @ ./src/proxy/record/sidebar/RecordSidebar.vue @ ./~/babel-loader/lib!./~/vue-loader/lib/selector.js?type=script&index=0!./src/proxy/Record.vue @ ./src/proxy/Record.vue @ ./src/proxy/record.js @ multi ./build/dev-client ./src/proxy/record.js error in ./src/proxy/connect/sidebar/dialog/SidebarNetdiskFileUploadDialog.vue Module build failed: ValidationError: CSS Loader Invalid Options options should NOT have additional properties at validateOptions (D:\yunxiazi-portal-ui\node_modules\schema-utils\src\validateOptions.js:32:11) at Object.loader (D:\yunxiazi-portal-ui\node_modules\css-loader\dist\index.js:44:28) @ ./~/vue-style-loader!./~/css-loader/dist/cjs.js?{"minimize":false,"sourceMap":false}!./~/vue-loader/lib/style-compiler?{"vue":true,"id":"data-v-1423437a","scoped":false,"hasInlineConfig":false}!./~/less-loader/dist/cjs.js?{"sourceMap":false}!./~/vue-loader/lib/selector.js?type=styles&index=0!./src/proxy/connect/sidebar/dialog/SidebarNetdiskFileUploadDialog.vue 4:14-456 13:3-17:5 14:22-464 @ ./src/proxy/connect/sidebar/dialog/SidebarNetdiskFileUploadDialog.vue @ ./~/babel-loader/lib!./~/vue-loader/lib/selector.js?type=script&index=0!./src/proxy/connect/sidebar/children/SidebarFileManageBtns.vue @ ./src/proxy/connect/sidebar/children/SidebarFileManageBtns.vue @ ./~/babel-loader/lib!./~/vue-loader/lib/selector.js?type=script&index=0!./src/proxy/connect/sidebar/children/SidebarFileList.vue @ ./src/proxy/connect/sidebar/children/SidebarFileList.vue @ ./~/babel-loader/lib!./~/vue-loader/lib/selector.js?type=script&index=0!./src/proxy/connect/sidebar/GuacClientSidebar.vue @ ./src/proxy/connect/sidebar/GuacClientSidebar.vue @ ./~/babel-loader/lib!./~/vue-loader/lib/selector.js?type=script&index=0!./src/proxy/Connect.vue @ ./src/proxy/Connect.vue @ ./src/proxy/connect.js @ multi ./build/dev-client ./src/proxy/connect.js error in ./src/proxy/connect/sidebar/dialog/SidebarFileSaveNetdiskDialog.vue Module build failed: ValidationError: CSS Loader Invalid Options options should NOT have additional properties at validateOptions (D:\yunxiazi-portal-ui\node_modules\schema-utils\src\validateOptions.js:32:11) at Object.loader (D:\yunxiazi-portal-ui\node_modules\css-loader\dist\index.js:44:28) @ ./~/vue-style-loader!./~/css-loader/dist/cjs.js?{"minimize":false,"sourceMap":false}!./~/vue-loader/lib/style-compiler?{"vue":true,"id":"data-v-5ab1ea24","scoped":false,"hasInlineConfig":false}!./~/less-loader/dist/cjs.js?{"sourceMap":false}!./~/vue-loader/lib/selector.js?type=styles&index=0!./src/proxy/connect/sidebar/dialog/SidebarFileSaveNetdiskDialog.vue 4:14-454 13:3-17:5 14:22-462 @ ./src/proxy/connect/sidebar/dialog/SidebarFileSaveNetdiskDialog.vue @ ./~/babel-loader/lib!./~/vue-loader/lib/selector.js?type=script&index=0!./src/proxy/connect/sidebar/children/SidebarFileManageBtns.vue @ ./src/proxy/connect/sidebar/children/SidebarFileManageBtns.vue @ ./~/babel-loader/lib!./~/vue-loader/lib/selector.js?type=script&index=0!./src/proxy/connect/sidebar/children/SidebarFileList.vue @ ./src/proxy/connect/sidebar/children/SidebarFileList.vue @ ./~/babel-loader/lib!./~/vue-loader/lib/selector.js?type=script&index=0!./src/proxy/connect/sidebar/GuacClientSidebar.vue @ ./src/proxy/connect/sidebar/GuacClientSidebar.vue @ ./~/babel-loader/lib!./~/vue-loader/lib/selector.js?type=script&index=0!./src/proxy/Connect.vue @ ./src/proxy/Connect.vue @ ./src/proxy/connect.js @ multi ./build/dev-client ./src/proxy/connect.js error in ./src/components/yab-transfer-ex/yab-transfer-new/transfer-panel.vue Module build failed: ValidationError: CSS Loader Invalid Options options should NOT have additional properties at validateOptions (D:\yunxiazi-portal-ui\node_modules\schema-utils\src\validateOptions.js:32:11) at Object.loader (D:\yunxiazi-portal-ui\node_modules\css-loader\dist\index.js:44:28) @ ./~/vue-style-loader!./~/css-loader/dist/cjs.js?{"minimize":false,"sourceMap":false}!./~/vue-loader/lib/style-compiler?{"vue":true,"id":"data-v-7156e841","scoped":false,"hasInlineConfig":false}!./~/less-loader/dist/cjs.js?{"sourceMap":false}!./~/vue-loader/lib/selector.js?type=styles&index=0!./src/components/yab-transfer-ex/yab-transfer-new/transfer-panel.vue 4:14-428 13:3-17:5 14:22-436 @ ./src/components/yab-transfer-ex/yab-transfer-new/transfer-panel.vue @ ./~/babel-loader/lib!./~/vue-loader/lib/selector.js?type=script&index=0!./src/components/yab-transfer-ex/yab-transfer-new/main.vue @ ./src/components/yab-transfer-ex/yab-transfer-new/main.vue @ ./~/babel-loader/lib!./~/vue-loader/lib/selector.js?type=script&index=0!./src/components/yab-transfer-ex/yab-transfer-ex.vue @ ./src/components/yab-transfer-ex/yab-transfer-ex.vue @ ./~/babel-loader/lib!./~/vue-loader/lib/selector.js?type=script&index=0!./src/views/workorder/opsworkorder/dialog/opsWorkOrderAccountEdit.vue @ ./src/views/workorder/opsworkorder/dialog/opsWorkOrderAccountEdit.vue @ ./~/babel-loader/lib!./~/vue-loader/lib/selector.js?type=script&index=0!./src/views/workorder/opsworkorder/OpsWorkOrderDetail.vue @ ./src/views/workorder/opsworkorder/OpsWorkOrderDetail.vue @ ./src/router/index.js @ ./src/main.js @ multi ./build/dev-client ./src/main.js error in ./src/proxy/connect/sidebar/children/SidebarDialogBreadcrumb.vue Module build failed: ValidationError: CSS Loader Invalid Options options should NOT have additional properties

localhost:8080与localhost:8080/项目名分别是哪种路径

localhost:8080与localhost:8080/项目名分别是哪种路径,项目根目录还是web应用根目录, forward与redirect中的/又是代表什么路径呢?

运行 vue-element-admin 时报错的问题

# 下载了vue-element-admin,在本地npm insatall后npm run dev后报错。删除node_modules后重置也不行 C:\Users\Le'novo\Desktop\project\vue-element-admin>npm run dev > vue-element-admin@4.4.0 dev C:\Users\Le'novo\Desktop\project\vue-element-admin > vue-cli-service serve INFO Starting development server... 98% after emitting CopyPlugin DONE Compiled successfully in 23484ms 15:55:03 App running at: - Local: http://localhost:9527/ - Network: unavailable Note that the development build is not optimized. To create a production build, run npm run build. events.js:288 throw er; // Unhandled 'error' event ^ Error: spawn cmd ENOENT at Process.ChildProcess._handle.onexit (internal/child_process.js:267:19) at onErrorNT (internal/child_process.js:469:16) at processTicksAndRejections (internal/process/task_queues.js:84:21) Emitted 'error' event on ChildProcess instance at: at Process.ChildProcess._handle.onexit (internal/child_process.js:273:12) at onErrorNT (internal/child_process.js:469:16) at processTicksAndRejections (internal/process/task_queues.js:84:21) { errno: 'ENOENT', code: 'ENOENT', syscall: 'spawn cmd', path: 'cmd', spawnargs: [ '/c', 'start', '""', '/b', 'http://localhost:9527/' ] } npm ERR! code ELIFECYCLE npm ERR! errno 1 npm ERR! vue-element-admin@4.4.0 dev: `vue-cli-service serve` npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the vue-element-admin@4.4.0 dev script. npm ERR! This is probably not a problem with npm. There is likely additional logging output above. npm ERR! A complete log of this run can be found in: npm ERR! D:\nodejs\node_cache\_logs\2020-07-02T07_55_03_271Z-debug.log ``` ``` # 报错日志 0 info it worked if it ends with ok 1 verbose cli [ 1 verbose cli 'C:\\Program Files\\nodejs\\node.exe', 1 verbose cli 'C:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js', 1 verbose cli 'run', 1 verbose cli 'dev' 1 verbose cli ] 2 info using npm@6.13.4 3 info using node@v12.16.1 4 verbose run-script [ 'predev', 'dev', 'postdev' ] 5 info lifecycle vue-element-admin@4.4.0~predev: vue-element-admin@4.4.0 6 info lifecycle vue-element-admin@4.4.0~dev: vue-element-admin@4.4.0 7 verbose lifecycle vue-element-admin@4.4.0~dev: unsafe-perm in lifecycle true 8 verbose lifecycle vue-element-admin@4.4.0~dev: PATH: C:\Program Files\nodejs\node_modules\npm\node_modules\npm-lifecycle\node-gyp-bin;C:\Users\Le'novo\Desktop\project\vue-element-admin\node_modules\.bin;C:\redis;C:\Program Files\nodejs\;C:\Program Files\NVIDIA Corporation\NVIDIA NvDLISR;C:\Program Files\Git\cmd;C:\Program Files\nodejs\node_global;C:\Program Files\nodejs\node_global\node_modules\yarn\bin;C:\Program Files\nodejs\node_global;C:\Program Files\nodejs\node_global\node_modules\cnpm\bin;C:\Users\Le'novo\AppData\Local\Microsoft\WindowsApps;"C:\Users\Le'novo\AppData\Local\Programs\Microsoft VS Code\bin;C:\Program Files\nodejs\node_global\node_modules";C:\redis;C:\Users\Le'novo\AppData\Roaming\npm;C:\Program Files\nodejs\node_global\;C:\Program Files\nodejs\node_modules;C:\Program Files\nodejs\node_global\node_modules\yarn\bin; 9 verbose lifecycle vue-element-admin@4.4.0~dev: CWD: C:\Users\Le'novo\Desktop\project\vue-element-admin 10 silly lifecycle vue-element-admin@4.4.0~dev: Args: [ '/d /s /c', 'vue-cli-service serve' ] 11 silly lifecycle vue-element-admin@4.4.0~dev: Returned: code: 1 signal: null 12 info lifecycle vue-element-admin@4.4.0~dev: Failed to exec dev script 13 verbose stack Error: vue-element-admin@4.4.0 dev: `vue-cli-service serve` 13 verbose stack Exit status 1 13 verbose stack at EventEmitter.<anonymous> (C:\Program Files\nodejs\node_modules\npm\node_modules\npm-lifecycle\index.js:332:16) 13 verbose stack at EventEmitter.emit (events.js:311:20) 13 verbose stack at ChildProcess.<anonymous> (C:\Program Files\nodejs\node_modules\npm\node_modules\npm-lifecycle\lib\spawn.js:55:14) 13 verbose stack at ChildProcess.emit (events.js:311:20) 13 verbose stack at maybeClose (internal/child_process.js:1021:16) 13 verbose stack at Process.ChildProcess._handle.onexit (internal/child_process.js:286:5) 14 verbose pkgid vue-element-admin@4.4.0 15 verbose cwd C:\Users\Le'novo\Desktop\project\vue-element-admin 16 verbose Windows_NT 10.0.17763 17 verbose argv "C:\\Program Files\\nodejs\\node.exe" "C:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js" "run" "dev" 18 verbose node v12.16.1 19 verbose npm v6.13.4 20 error code ELIFECYCLE 21 error errno 1 22 error vue-element-admin@4.4.0 dev: `vue-cli-service serve` 22 error Exit status 1 23 error Failed at the vue-element-admin@4.4.0 dev script. 23 error This is probably not a problem with npm. There is likely additional logging output above. 24 verbose exit [ 1, true ]

vue2本地 localhost 测试时 后台数据库是 localhost 如何获取数据库中值

项目是用Vue2脚手架安装的 npm run dev 打开的本地页面 http://localhost:8081 ![图片说明](https://img-ask.csdn.net/upload/201807/30/1532936923_295757.png) 后台数据地址链接 http://localhost:8080/ZK/restservices/http/single/...

GET http://localhost:3000/detail/1298859 500 (RuntimeError)

发现了一个很难受的问题,查了好久都没解决,求各位大神帮助!!! 我的问题代码 ``` <template> <div> detail--{{$route.params.myid}} <p>{{filminfo}}</p> <img :src="filminfo.pageUrl"/> </div> </template> <script> import axios from 'axios' export default { layout:"detailtemplate", /* data(){ return { filminfo:[] } },*/ asyncData(data){ console.log(data.params) return axios({ url:'https://m.maoyan.com/asgard/movie/${data.params.myid}', //url:'https://m.maoyan.com/asgard/asgardapi/media/activity/ad/movie/detail.json?movieId=${data.params.myid}', headers:{ 'Content-Type': 'application/json;charset=UTF-8', 'Content-Type': 'application/octet-stream', 'Content-Type': 'application/x-www-form-urlencoded', 'Sec-Fetch-Mode': 'cors', 'Sec-Fetch-Site': 'same-origin' } }).then(res=>{ return{ filminfo : res.data.infos } }) } } </script> <style lang="scss" scoped> </style> ``` 出现的问题 ``` GET http://localhost:3000/detail/1298859 500 (RuntimeError) ``` Error Request failed with status code 404 events.js:215:7 IncomingMessage.emit domain.js:475:20 IncomingMessage.EventEmitter.emit _stream_readable.js:1184:12 endReadableNT internal/process/task_queues.js:80:21 processTicksAndRejections 都不知道怎么办

vue.cli第一次配置好了,localhost:8080能显示。但是我关了电脑或者程序再次输入就不能显示了

查了下说 进入项目输入 _npm run dev_ 启动了就好了 但是它报这个错!还是显示不了!! **求各位大佬帮忙看哈!** ![图片说明](https://img-ask.csdn.net/upload/202002/23/1582463642_388670.png)

js 错误对象 err.stack 用“console 控制台输出”与“实际字符串”不一致问题

背景:最近在做一个前端错误监控系统,要求收集 js 错误信息堆栈等。使用 vue+webpack 技术。 js 错误对象 Error 下的错误堆栈 stack 。 ``` const error = new TypeErrpr(); console.log(error.stack); // console 控制台输出 JSON.stringify(error.stack); // 实际字符串 ``` 使用 console.log 控制台输出如下(显示行号、堆栈信息正确): ``` TypeError: this.b is not a function at Object.aa (common.js?cf45:119) at VueComponent.errorInJSHandler (Home.vue?76f2:104) at invokeWithErrorHandling (vue.runtime.esm.js?2b0e:1854) at VueComponent.invoker (vue.runtime.esm.js?2b0e:2179) at invokeWithErrorHandling (vue.runtime.esm.js?2b0e:1854) at VueComponent.Vue.$emit (vue.runtime.esm.js?2b0e:3888) at VueComponent.handleClick (element-ui.common.js?5c96:9417) at invokeWithErrorHandling (vue.runtime.esm.js?2b0e:1854) at HTMLButtonElement.invoker (vue.runtime.esm.js?2b0e:2179) at HTMLButtonElement.original._wrapper (vue.runtime.esm.js?2b0e:6917) ``` 但如果直接在页面显示或者保存为字符串,变成如下(显示行号、堆栈信息错误): ``` TypeError: this.b is not a function at Object.aa (webpack-internal:///./src/utils/common.js:173:10) at VueComponent.errorInJSHandler (webpack-internal:///./node_modules/cache-loader/dist/cjs.js?!./node_modules/babel-loader/lib/index.js!./node_modules/cache-loader/dist/cjs.js?!./node_modules/vue-loader/lib/index.js?!./src/views/Home.vue?vue&type=script&lang=js&:108:61) at invokeWithErrorHandling (webpack-internal:///./node_modules/vue/dist/vue.runtime.esm.js:1853:26) at VueComponent.invoker (webpack-internal:///./node_modules/vue/dist/vue.runtime.esm.js:2178:14) at invokeWithErrorHandling (webpack-internal:///./node_modules/vue/dist/vue.runtime.esm.js:1853:26) at VueComponent.Vue.$emit (webpack-internal:///./node_modules/vue/dist/vue.runtime.esm.js:3882:9) at VueComponent.handleClick (webpack-internal:///./node_modules/element-ui/lib/element-ui.common.js:9417:12) at invokeWithErrorHandling (webpack-internal:///./node_modules/vue/dist/vue.runtime.esm.js:1853:26) at HTMLButtonElement.invoker (webpack-internal:///./node_modules/vue/dist/vue.runtime.esm.js:2178:14) at HTMLButtonElement.original._wrapper (webpack-internal:///./node_modules/vue/dist/vue.runtime.esm.js:6907:25) ``` 怀疑是经过 webpack 打包的坑,想问各位,我如何才能获取到正确的堆栈信息( console.log 控制台输出)? ## **补充:**已找到解决方法,使用mozilla的sourcemap库(https://github.com/mozilla/source-map#sourcemapconsumerwith)即可通过打包后的错误堆栈及sourceMap文件中找到正确行列位置、文件名字等信息

vue cli3 管理axios 连接api的跨域请求地址问题

vue.config.js配置代理 ``` devServer: {// 环境配置 host: 'localhost', port: 8080, https: false, hotOnly: false, open: true, //配置自动启动浏览器 proxy: {// 配置多个代理(配置一个 proxy: 'http://localhost:4000' ) '/api': { target: 'http://127.0.0.1:8000', changeOrigin: true, //允许跨域 pathRewrite: { //需要rewrite重写的, 如果在服务器端做了处理则可以不要这段 '^/': '' } }, } }, ``` main.js配置 ``` import axios from 'axios' import 'amfe-flexible' setaxios() Vue.config.productionTip = false Vue.prototype.$http = axios axios.defaults.timeout = 5000 // 请求超时 axios.defaults.baseURL = '/' // api 即上面 vue.config.js 中配置的地址 new Vue({ router, store, render: h => h(App) }).$mount('#app') ``` inde.vue中代码 ``` async created(){ try{ //获取轮播图数据 const items=await this.$http.get('/h5indexad') .then(response => { console.log(items) console.log(response) this.items=items.data }) ``` 为什么浏览器前端还是连的vue的端口8080,不是api接口地址8000 ![图片说明](https://img-ask.csdn.net/upload/201907/19/1563508630_384647.png)

D3js 导入本地json文件产生跨域问题?

使用D3.js。在使用d3.json('relation.json',function)方法时,浏览器报d3.v3.min.js:1 Access to XMLHttpRequest at 'file:///C:/Users/Administrator/Desktop/d3/relation.json' from origin 'null' has been blocked by CORS policy: Cross origin requests are only supported for protocol schemes: http, data, chrome, chrome-extension, https.我的json文件是本地的,请问如何解决。谢谢

XML 解析错误:语法错误 位置:

![图片说明](https://img-ask.csdn.net/upload/201805/13/1526190084_220915.jpg) ![图片说明](https://img-ask.csdn.net/upload/201805/13/1526190096_40417.jpg) 今天在使用原生态ajax的时候,在调用doajax方法时,提示xml解析错误,语法错误,网上有人说是编码问题,但是针对struts2的,而我项目中又没有,给的错误信息很少,不知道如何下手,有大佬知道是什么问题吗?感谢

vue-cli3 打包后,二级页面刷新后空白,发现请求的 about.js 文件变换成了 about,直接去掉了后缀

这个问题很奇怪 路由:http://127.0.0.1:5500/,正常我打包后运行,第一次进入index页面,刷新后没问题 路由:http://127.0.0.1:5500/about,第一次进入about页面也没问题,但是我刷新后 显示 Cannot GET /about,然后我对比发现,第一次请求的是:http://127.0.0.1:5500/about.js,正常的 刷新后请求的是:http://127.0.0.1:5500/about, 它不应该是 http://127.0.0.1:5500/about.js吗,为什么只去掉了.js 配置如下,其实我也没配置啥: ``` vue.config.js module.exports = { publicPath: './', devServer: { port: 8086, proxy: 'http://localhost:8086' } } ``` ``` export default new Router({ mode: "history", // base: process.env.publicPath, base: './', routes: [ { path: "/", name: "home", component: Home }, { path: "/about", name: "about", component: () => import("@/views/About.vue") } ] }); ``` 各位大神多踩踩啊

C/C++学习指南全套教程

C/C++学习的全套教程,从基本语法,基本原理,到界面开发、网络开发、Linux开发、安全算法,应用尽用。由毕业于清华大学的业内人士执课,为C/C++编程爱好者的教程。

定量遥感中文版 梁顺林著 范闻捷译

这是梁顺林的定量遥感的中文版,由范闻捷等翻译的,是电子版PDF,解决了大家看英文费时费事的问题,希望大家下载看看,一定会有帮助的

YOLOv3目标检测实战:训练自己的数据集

YOLOv3是一种基于深度学习的端到端实时目标检测方法,以速度快见长。本课程将手把手地教大家使用labelImg标注和使用YOLOv3训练自己的数据集。课程分为三个小项目:足球目标检测(单目标检测)、梅西目标检测(单目标检测)、足球和梅西同时目标检测(两目标检测)。 本课程的YOLOv3使用Darknet,在Ubuntu系统上做项目演示。包括:安装Darknet、给自己的数据集打标签、整理自己的数据集、修改配置文件、训练自己的数据集、测试训练出的网络模型、性能统计(mAP计算和画出PR曲线)和先验框聚类。 Darknet是使用C语言实现的轻型开源深度学习框架,依赖少,可移植性好,值得深入探究。 除本课程《YOLOv3目标检测实战:训练自己的数据集》外,本人推出了有关YOLOv3目标检测的系列课程,请持续关注该系列的其它课程视频,包括: 《YOLOv3目标检测实战:交通标志识别》 《YOLOv3目标检测:原理与源码解析》 《YOLOv3目标检测:网络模型改进方法》 敬请关注并选择学习!

sql语句 异常 Err] 1064 - You have an error in your SQL syntax; check the manual that corresponds to your

在我们开发的工程中,有时候会报 [Err] 1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ------ 这种异常 不用多想,肯定是我们的sql语句出现问题,下面...

浪潮集团 往年的软件类 笔试题 比较详细的哦

浪潮集团 往年的软件类 笔试题 比较详细的哦

2019 AI开发者大会

2019 AI开发者大会(AI ProCon 2019)是由中国IT社区CSDN主办的AI技术与产业年度盛会。多年经验淬炼,如今蓄势待发:2019年9月6-7日,大会将有近百位中美顶尖AI专家、知名企业代表以及千余名AI开发者齐聚北京,进行技术解读和产业论证。我们不空谈口号,只谈技术,诚挚邀请AI业内人士一起共铸人工智能新篇章!

I2c串口通信实现加速度传感器和FPGA的交流

此代码能实现加速度传感器与FPGA之间的交流,从而测出运动物体的加速度。

Python可以这样学(第一季:Python内功修炼)

董付国系列教材《Python程序设计基础》、《Python程序设计(第2版)》、《Python可以这样学》配套视频,讲解Python 3.5.x和3.6.x语法、内置对象用法、选择与循环以及函数设计与使用、lambda表达式用法、字符串与正则表达式应用、面向对象编程、文本文件与二进制文件操作、目录操作与系统运维、异常处理结构。

微信公众平台开发入门

本套课程的设计完全是为初学者量身打造,课程内容由浅入深,课程讲解通俗易懂,代码实现简洁清晰。通过本课程的学习,学员能够入门微信公众平台开发,能够胜任企业级的订阅号、服务号、企业号的应用开发工作。 通过本课程的学习,学员能够对微信公众平台有一个清晰的、系统性的认识。例如,公众号是什么,它有什么特点,它能做什么,怎么开发公众号。 其次,通过本课程的学习,学员能够掌握微信公众平台开发的方法、技术和应用实现。例如,开发者文档怎么看,开发环境怎么搭建,基本的消息交互如何实现,常用的方法技巧有哪些,真实应用怎么开发。

机器学习初学者必会的案例精讲

通过六个实际的编码项目,带领同学入门人工智能。这些项目涉及机器学习(回归,分类,聚类),深度学习(神经网络),底层数学算法,Weka数据挖掘,利用Git开源项目实战等。

eclipseme 1.7.9

eclipse 出了新的eclipseme插件,官方有下载,但特慢,我都下了大半天(可能自己网速差)。有急需要的朋友可以下哦。。。

Spring Boot -01- 快速入门篇(图文教程)

Spring Boot -01- 快速入门篇 今天开始不断整理 Spring Boot 2.0 版本学习笔记,大家可以在博客看到我的笔记,然后大家想看视频课程也可以到【慕课网】手机 app,去找【Spring Boot 2.0 深度实践】的课程,令人开心的是,课程完全免费! 什么是 Spring Boot? Spring Boot 是由 Pivotal 团队提供的全新框架。Spring Boot...

HoloLens2开发入门教程

本课程为HoloLens2开发入门教程,讲解部署开发环境,安装VS2019,Unity版本,Windows SDK,创建Unity项目,讲解如何使用MRTK,编辑器模拟手势交互,打包VS工程并编译部署应用到HoloLens上等。

最简单的倍频verilog程序(Quartus II)

一个工程文件 几段简单的代码 一个输入一个输出(50Mhz倍频到100Mhz)

计算机组成原理实验教程

西北工业大学计算机组成原理实验课唐都仪器实验帮助,同实验指导书。分为运算器,存储器,控制器,模型计算机,输入输出系统5个章节

4小时玩转微信小程序——基础入门与微信支付实战

这是一个门针对零基础学员学习微信小程序开发的视频教学课程。课程采用腾讯官方文档作为教程的唯一技术资料来源。杜绝网络上质量良莠不齐的资料给学员学习带来的障碍。 视频课程按照开发工具的下载、安装、使用、程序结构、视图层、逻辑层、微信小程序等几个部分组织课程,详细讲解整个小程序的开发过程

面试了一个 31 岁程序员,让我有所触动,30岁以上的程序员该何去何从?

最近面试了一个31岁8年经验的程序猿,让我有点感慨,大龄程序猿该何去何从。

基于RSA通信密钥分发的加密通信

基于RSA通信密钥分发的加密通信,采用pycrypto中的RSA、AES模块实现

不同变质程度煤尘爆炸残留气体特征研究

为分析不同变质程度煤尘爆炸残留气体成分的特征规律,利用水平管道煤尘爆炸实验装置进行了贫瘦煤、肥煤、气煤、长焰煤4种不同变质程度的煤尘爆炸实验,研究了不同变质程度煤尘爆炸后气体残留物含量的差异,并对气体

设计模式(JAVA语言实现)--20种设计模式附带源码

课程亮点: 课程培训详细的笔记以及实例代码,让学员开始掌握设计模式知识点 课程内容: 工厂模式、桥接模式、组合模式、装饰器模式、外观模式、享元模式、原型模型、代理模式、单例模式、适配器模式 策略模式、模板方法模式、观察者模式、迭代器模式、责任链模式、命令模式、备忘录模式、状态模式、访问者模式 课程特色: 笔记设计模式,用笔记串连所有知识点,让学员从一点一滴积累,学习过程无压力 笔记标题采用关键字标识法,帮助学员更加容易记住知识点 笔记以超链接形式让知识点关联起来,形式知识体系 采用先概念后实例再应用方式,知识点深入浅出 提供授课内容笔记作为课后复习以及工作备查工具 部分图表(电脑PC端查看):

MySQL数据库面试题(2020最新版)

文章目录数据库基础知识为什么要使用数据库什么是SQL?什么是MySQL?数据库三大范式是什么mysql有关权限的表都有哪几个MySQL的binlog有有几种录入格式?分别有什么区别?数据类型mysql有哪些数据类型引擎MySQL存储引擎MyISAM与InnoDB区别MyISAM索引与InnoDB索引的区别?InnoDB引擎的4大特性存储引擎选择索引什么是索引?索引有哪些优缺点?索引使用场景(重点)...

软件测试2小时入门

本课程内容系统、全面、简洁、通俗易懂,通过2个多小时的介绍,让大家对软件测试有个系统的理解和认识,具备基本的软件测试理论基础。 主要内容分为5个部分: 1 软件测试概述,了解测试是什么、测试的对象、原则、流程、方法、模型;&nbsp; 2.常用的黑盒测试用例设计方法及示例演示;&nbsp; 3 常用白盒测试用例设计方法及示例演示;&nbsp; 4.自动化测试优缺点、使用范围及示例‘;&nbsp; 5.测试经验谈。

几率大的Redis面试题(含答案)

本文的面试题如下: Redis 持久化机制 缓存雪崩、缓存穿透、缓存预热、缓存更新、缓存降级等问题 热点数据和冷数据是什么 Memcache与Redis的区别都有哪些? 单线程的redis为什么这么快 redis的数据类型,以及每种数据类型的使用场景,Redis 内部结构 redis的过期策略以及内存淘汰机制【~】 Redis 为什么是单线程的,优点 如何解决redis的并发竞争key问题 Red...

手把手实现Java图书管理系统(附源码)

【超实用课程内容】 本课程演示的是一套基于Java的SSM框架实现的图书管理系统,主要针对计算机相关专业的正在做毕设的学生与需要项目实战练习的java人群。详细介绍了图书管理系统的实现,包括:环境搭建、系统业务、技术实现、项目运行、功能演示、系统扩展等,以通俗易懂的方式,手把手的带你从零开始运行本套图书管理系统,该项目附带全部源码可作为毕设使用。 【课程如何观看?】 PC端:https://edu.csdn.net/course/detail/27513 移动端:CSDN 学院APP(注意不是CSDN APP哦) 本课程为录播课,课程2年有效观看时长,大家可以抓紧时间学习后一起讨论哦~ 【学员专享增值服务】 源码开放 课件、课程案例代码完全开放给你,你可以根据所学知识,自行修改、优化

jsp+servlet入门项目实例

jsp+servlet实现班级信息管理项目

winfrom中嵌套html,跟html的交互

winfrom中嵌套html,跟html的交互,源码就在里面一看就懂,很简单

Java面试题大全(2020版)

发现网上很多Java面试题都没有答案,所以花了很长时间搜集整理出来了这套Java面试题大全,希望对大家有帮助哈~ 本套Java面试题大全,全的不能再全,哈哈~ 一、Java 基础 1. JDK 和 JRE 有什么区别? JDK:Java Development Kit 的简称,java 开发工具包,提供了 java 的开发环境和运行环境。 JRE:Java Runtime Environ...

python实现数字水印添加与提取及鲁棒性测试(GUI,基于DCT,含测试图片)

由python写的GUI,可以实现数字水印的添加与提取,提取是根据添加系数的相关性,实现了盲提取。含有两种攻击测试方法(高斯低通滤波、高斯白噪声)。基于python2.7,watermark.py为主

Xshell6完美破解版,亲测可用

Xshell6破解版,亲测可用,分享给大家。直接解压即可使用

你连存活到JDK8中著名的Bug都不知道,我怎么敢给你加薪

CopyOnWriteArrayList.java和ArrayList.java,这2个类的构造函数,注释中有一句话 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 public ArrayList(Collection&lt;? ...

相关热词 c#分级显示数据 c# 不区分大小写替换 c#中调用就java c#正则表达式 验证小数 c# vscode 配置 c#三维数组能存多少数据 c# 新建excel c#多个文本框 c#怎么创建tcp通讯 c# mvc 电子病例
立即提问