|
@@ -38,6 +38,7 @@
|
|
mapMutations
|
|
mapMutations
|
|
} from 'vuex';
|
|
} from 'vuex';
|
|
import { openFSqlite, createFSQL, selectFSQL, addFSQL } from '../../util/f.js'
|
|
import { openFSqlite, createFSQL, selectFSQL, addFSQL } from '../../util/f.js'
|
|
|
|
+ import helper from '@/common/helper.js';
|
|
import { queryData, upData, initData } from '../../util/dbUtil.js'
|
|
import { queryData, upData, initData } from '../../util/dbUtil.js'
|
|
export default {
|
|
export default {
|
|
data() {
|
|
data() {
|
|
@@ -227,11 +228,13 @@
|
|
veriCode: "123456",}).then(res1 => {
|
|
veriCode: "123456",}).then(res1 => {
|
|
if(res1.data.code==200){
|
|
if(res1.data.code==200){
|
|
uni.setStorageSync('pcUserInfo', res1.data.data)
|
|
uni.setStorageSync('pcUserInfo', res1.data.data)
|
|
|
|
+ helper.getListByUserId()
|
|
}
|
|
}
|
|
else{
|
|
else{
|
|
that.$api.doRequest('post','/commonUser/api/loginQuickly',{mobilePhone: '13333333333',
|
|
that.$api.doRequest('post','/commonUser/api/loginQuickly',{mobilePhone: '13333333333',
|
|
veriCode: "123456",}).then(res2 => {
|
|
veriCode: "123456",}).then(res2 => {
|
|
uni.setStorageSync('pcUserInfo', res2.data.data)
|
|
uni.setStorageSync('pcUserInfo', res2.data.data)
|
|
|
|
+ helper.getListByUserId()
|
|
})
|
|
})
|
|
}
|
|
}
|
|
})
|
|
})
|