lilei 1 年之前
父节点
当前提交
dea6dd187e
共有 1 个文件被更改,包括 1 次插入1 次删除
  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)