jf 5 лет назад
Родитель
Сommit
40d9b9c2ef
2 измененных файлов с 2 добавлено и 0 удалено
  1. 1 0
      ghsApp/src/admin/home/workbench.vue
  2. 1 0
      ghsApp/src/mixins/priceSocket.js

+ 1 - 0
ghsApp/src/admin/home/workbench.vue

@@ -306,6 +306,7 @@ export default {
 	},
 	},
 	methods: {
 	methods: {
 		init() {
 		init() {
+			/*延迟监听token*/
 			if(!uni.getStorageSync('token')){
 			if(!uni.getStorageSync('token')){
 				setTimeout(()=>{
 				setTimeout(()=>{
 					this.init();
 					this.init();

+ 1 - 0
ghsApp/src/mixins/priceSocket.js

@@ -14,6 +14,7 @@ export default {
 
 
 	},
 	},
 	methods:{
 	methods:{
+		/*延迟监听token*/
 		priceSocketFun(){
 		priceSocketFun(){
 			if(!uni.getStorageSync('token')){
 			if(!uni.getStorageSync('token')){
 				setTimeout(()=>{
 				setTimeout(()=>{