yuantianjiao 6 年前
父节点
当前提交
32bcc4a9af
共有 2 个文件被更改,包括 3 次插入3 次删除
  1. 1
    1
      dist/index.html
  2. 2
    2
      src/pages/system/newOrder/newOrderList/index.vue

+ 1
- 1
dist/index.html 查看文件

1
-<!DOCTYPE html><html><head><meta charset=utf-8><meta name=viewport content="width=device-width,initial-scale=1"><link rel=stylesheet href=//at.alicdn.com/t/font_775069_dwqa9wy3lkh.css><link rel="shortcut icon" href=favorite.ico><title>城的空间后台管理系统</title><link href=./static/css/app.d246d7e75035e2104e2b8e5e9f8f5f5f.css rel=stylesheet></head><body><div id=app></div><script type=text/javascript src=./static/js/manifest.3ad1d5771e9b13dbdad2.js></script><script type=text/javascript src=./static/js/vendor.7e921535e20f729cf046.js></script><script type=text/javascript src=./static/js/app.05cecd511c12d1e1b7da.js></script></body></html>
1
+<!DOCTYPE html><html><head><meta charset=utf-8><meta name=viewport content="width=device-width,initial-scale=1"><link rel=stylesheet href=//at.alicdn.com/t/font_775069_dwqa9wy3lkh.css><link rel="shortcut icon" href=favorite.ico><title>城的空间后台管理系统</title><link href=./static/css/app.fdb208b4bbd1ccfe0f211a34c6c91d95.css rel=stylesheet></head><body><div id=app></div><script type=text/javascript src=./static/js/manifest.3ad1d5771e9b13dbdad2.js></script><script type=text/javascript src=./static/js/vendor.7e921535e20f729cf046.js></script><script type=text/javascript src=./static/js/app.0f762915754ac8b23700.js></script></body></html>

+ 2
- 2
src/pages/system/newOrder/newOrderList/index.vue 查看文件

141
     console.log(this.websockets)
141
     console.log(this.websockets)
142
     Object.keys(this.websockets).forEach((key) => {
142
     Object.keys(this.websockets).forEach((key) => {
143
       console.log(key, this.websockets[key])
143
       console.log(key, this.websockets[key])
144
-      this.websockets[key].onclose()
144
+      this.websockets[key].close()
145
     })
145
     })
146
     next()
146
     next()
147
   },
147
   },
149
     init () {
149
     init () {
150
       Object.keys(this.websockets).forEach((key) => {
150
       Object.keys(this.websockets).forEach((key) => {
151
         console.log(key, this.websockets[key])
151
         console.log(key, this.websockets[key])
152
-        this.websockets[key].onclose()
152
+        this.websockets[key].close()
153
       })
153
       })
154
       // console.log('init')
154
       // console.log('init')
155
       var param = []
155
       var param = []