更改附件地址
parent
6ea70cf5ae
commit
efeda5659a
1
App.vue
1
App.vue
|
@ -2,6 +2,7 @@
|
|||
export default {
|
||||
onLaunch: function () {
|
||||
console.log('App Launch')
|
||||
this.$store.dispatch('setfilePath', 'https://skqhdg.porthebei.com:9004/file/');
|
||||
this.isLogin()
|
||||
},
|
||||
onShow: function () {
|
||||
|
|
|
@ -96,7 +96,7 @@ export default {
|
|||
const keydataVal = jsencrypt.encrypt('qdkjchina' + this.form.userName + ',qd,' + this.form.userPwd)
|
||||
let resData = await submitLogin({'KEYDATA':keydataVal});
|
||||
await this.$store.dispatch('setUserInfo', resData);
|
||||
await this.$store.dispatch('setfilePath', '');
|
||||
// await this.$store.dispatch('setfilePath', '');
|
||||
uni.$u.route({
|
||||
url: '/pages/index/index',
|
||||
type: 'reLaunch'
|
||||
|
|
|
@ -31,7 +31,7 @@ const store = new Vuex.Store({
|
|||
state.userInfo = userInfo
|
||||
} ,
|
||||
setfilePath(state, filePath) {
|
||||
state.filePath = 'https://skqhdg.porthebei.com:9004/file/'
|
||||
state.filePath = filePath
|
||||
}
|
||||
},
|
||||
actions: {
|
||||
|
|
Loading…
Reference in New Issue