lilei 1 rok pred
rodič
commit
dea6dd187e
1 zmenil súbory, kde vykonal 1 pridanie a 1 odobranie
  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)