zengh
2022-09-14 8ea19a6bb34daab1410f6186992a4c1e90299c92
store/state.js
@@ -1,6 +1,9 @@
import websocket from "./websocket.js"
import positions from "./positions.js"
import apis from "./apiConfig.js"
import myAudio from './lid/myAudio.js'
const state = {
   examDetail: {}, // 考试详情
   questionList: [], // 考试考题列表
@@ -12,13 +15,15 @@
      useName: '过客',
   },
   roleid: '', //角色id
   Jurisdiction: '', //角色辖区
   logPath: '',
   piAPI: apis.api,
   // piAPI: 'http://223.82.109.183:2082/api/',
   //piAPI: 'http://192.168.0.110:83/',
   piAPI: 'http://192.168.0.222:83/',
   //piAPI: 'http://223.82.109.183:2082/api/',
   BaopiAPI: 'http://223.82.109.183:2080/api/',
   // piAPI: 'http://106.225.193.35:83/api/',
   //piAPI: 'http://192.168.0.114:83/',
   //piAPI: 'http://106.225.193.35:83/api/',
   BaopiAPI: 'http://61.131.136.25:2080/api/',
   //BaopiAPI: 'http://192.168.0.114:81',
   firstlogin: null,
   puserName: '',
   puserID: '',
   puserIphone: '',
@@ -57,8 +62,12 @@
      }
   ],
   gotuGrabOrders: false,
   Audio: new myAudio({
      uni: uni
   }), //语音控制
   ...websocket.state,
   ...positions.state
   ...positions.state,
   changeTaksState: true,
}
export default state