zhuhao 2 năm trước cách đây
mục cha
commit
2fca255d81

+ 1 - 1
RMS-FrontEnd/src/views/components/common/menu/mixins.js

@@ -13,7 +13,7 @@ export const File = {
                 var FileUrl = this.$p + item.url
                 var isPicture = 0
             }else{
-                var FileUrl =  `http://${$c.hostname}:8012/onlinePreview?url=`+ btoa(encodeURIComponent(this.$p + item.url))
+                var FileUrl =  `http://${this.$c.hostname}:8012/onlinePreview?url=`+ btoa(encodeURIComponent(this.$p + item.url))
                 var isPicture = 0
             }
             const router = this.$router.resolve({

+ 1 - 1
RMS-FrontEnd/src/views/layout/mixins/index.js

@@ -4,7 +4,7 @@ import Store from '@/store'
 export const webSocket = {
   methods: {
     connectWebSocket(userId) {
-      let webSocket = new WebSocket(`ws://${$c.hostname}:8872/api/report/api/ws/`+userId)
+      let webSocket = new WebSocket(`ws://${this.$c.hostname}:8872/api/report/api/ws/`+userId)
       // let webSocket = new WebSocket(`ws://192.168.1.24:8872/api/report/api/ws/`+userId)
       Store.commit('SET_WEB_SOCKET', webSocket)
       webSocket.onopen = () => {

+ 1 - 1
RMS-FrontEnd/src/views/product/components/relatedPatents/components/import/SystemTask.vue

@@ -151,7 +151,7 @@ export default {
   },
   methods: {
     connectWebSocket(userId) {
-      this.webSocket1 = new WebSocket(`ws://${$c.hostname}:8877/api/v2/ws/` + userId)
+      this.webSocket1 = new WebSocket(`ws://${this.$c.hostname}:8877/api/v2/ws/` + userId)
       // this.webSocket1 = new WebSocket(`ws://192.168.1.24:8877/api/v2/ws/` + userId)
 
       // Store.commit('SET_WEB_SOCKET', webSocket)