更改附件地址

dev
LiuJiaNan 2024-12-13 08:44:57 +08:00
parent 6ea70cf5ae
commit efeda5659a
3 changed files with 3 additions and 2 deletions

View File

@ -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 () {

View File

@ -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'

View File

@ -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: {