修复bug
This commit is contained in:
parent
9fee4cae5c
commit
7f6263863b
@ -190,6 +190,7 @@ import {
|
||||
import {
|
||||
noticeList
|
||||
} from "@/api/notice.js";
|
||||
import { mapState } from "@/store/index.js"
|
||||
// import tabbar from '../components/tabbar'
|
||||
import {
|
||||
getIndexListAPI,
|
||||
@ -251,12 +252,6 @@ export default {
|
||||
ApproveList: [],
|
||||
};
|
||||
},
|
||||
onReady () {
|
||||
uni.setNavigationBarColor({
|
||||
frontColor: "#ffffff",
|
||||
backgroundColor: "#0122c7",
|
||||
});
|
||||
},
|
||||
onLoad () {
|
||||
this.is_captain = JSON.parse(uni.getStorageSync("USER_INFO")).is_captain
|
||||
this.options.data = bj;
|
||||
|
@ -3,6 +3,7 @@ export default {
|
||||
isLogin: state => !!state.app.token,
|
||||
userInfo: state => state.app.userInfo || {},
|
||||
eyeType: state => state.config.eyeType || true,
|
||||
config: state => state.config.config || {}
|
||||
};
|
||||
// export default {
|
||||
// token: state => 'eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJrYWlmYS5jcm1lYi5uZXQiLCJhdWQiOiJrYWlmYS5jcm1lYi5uZXQiLCJpYXQiOjE1NzcwODM1MzQsIm5iZiI6MTU3NzA4MzUzNCwiZXhwIjoxNTc3MDk0MzM0LCJqdGkiOnsiaWQiOjExMCwidHlwZSI6InVzZXIifX0.U-i1pbdRjyXI1gr79Uq2XBPZ89T8f5Ai9jwrR8woTwE',
|
||||
|
@ -214,6 +214,7 @@
|
||||
} else Toast('暂未开放');
|
||||
},
|
||||
async initLoad() {
|
||||
console.log('更新');
|
||||
this.loadConfig.page = 1;
|
||||
this.loadConfig.status = "loadmore";
|
||||
this.list = [];
|
||||
|
@ -162,9 +162,10 @@
|
||||
uni.showToast({
|
||||
icon: 'none',
|
||||
title: '更新成功',
|
||||
success() {
|
||||
success: ()=> {
|
||||
setTimeout(() => {
|
||||
uni.$emit('initOaTask');
|
||||
if(this.task_id) uni.$emit('loadArchives');
|
||||
else uni.$emit('initOaTask');
|
||||
uni.navigateBack()
|
||||
}, 1000)
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user