Kaynağa Gözat

更新资源前缀地址,修改获取username

yf_zhb 2 yıl önce
ebeveyn
işleme
4e02a60db7

+ 2 - 2
minggao/src/main.js

@@ -57,8 +57,8 @@ Vue.prototype.$imghost = Vue.prototype.DOMIN // 翟毅飞本地图片服务器
 // Vue.prototype.$imghost = 'http://www.hnyfwlw.com:8006/projectimg' // 线上图片服务器路径常量
 Vue.prototype.$insectHost = 'https://images.weserv.nl/?url=' // 线上图片服务器路径常量
 Vue.prototype.$wsUrl = Vue.prototype.wsUrl  // 实时通信服务器url 
-// Vue.prototype.$deriveData = Vue.prototype.DOMIN // 导出
-Vue.prototype.$deriveData = 'http://114.115.147.140:12345' // 导出
+Vue.prototype.$deriveData = Vue.prototype.DOMIN // 导出
+// Vue.prototype.$deriveData = 'http://114.115.147.140:12345' // 导出
 Vue.prototype.$faultvideo = Vue.prototype.DOMIN //售后视频地址前缀
 
 import VueHighcharts from 'vue-highcharts';

+ 1 - 1
minggao/src/page/commandCenter/realTime.vue

@@ -730,7 +730,7 @@ export default {
     msgAxios(data) {
       this.getUserObj = data;
       this.redtf = data;
-      this.userName = localStorage.getItem('usernme');
+      this.userName = localStorage.getItem('username');
       console.log(this.userName);
       this.tltData = '与' + data.real_name + '的对话';
       var obj = {};