lilei před 1 rokem
rodič
revize
dea6dd187e
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  1. 1 1
      config/request.js

+ 1 - 1
config/request.js

@@ -19,7 +19,7 @@ module.exports = (vm) => {
 			// 可以在此通过vm引用vuex中的变量,具体值在vm.$store.state中
 			config.header['access-token'] = vm.$store.state.vuex_token
 		}
-		// config.header['hand-device-no'] = vm.$store.state.vuex_deviceId
+		config.header['hand-device-no'] = vm.$store.state.vuex_deviceId
 	    return config 
 	}, config => { // 可使用async await 做异步操作
 	    return Promise.reject(config)