master
chen 2022-04-29 19:00:02 +08:00
parent 1df03872a0
commit cdd36d31b1
2 changed files with 15 additions and 6 deletions

View File

@ -17,11 +17,19 @@
methods: {
//
checkContext(){
setTimeout(()=>{
uni.reLaunch({
url:'/pages/login/login'
})
},3000)
if(uni.getStorageSync('token')) {
setTimeout(()=>{
uni.reLaunch({
url:'/pages/tabbar/pagehome/pagehome'
})
},3000)
} else {
setTimeout(()=>{
uni.reLaunch({
url:'/pages/login/login'
})
},3000)
}
// #ifdef APP-PLUS
// if(uni.getSystemInfoSync().platform != "devtools"){//devtools iosandroidmac3.1.10+windows3.1.10+linux3.1.10+
// console.log = () =>{}

View File

@ -130,7 +130,8 @@
this.$requst.get('/universal/api.order/order_type').then(res => {
// this.$toolAll.tools.showToast(res.msg);
if (res.code) {
this.array=[...res.data]
this.array=[...res.data];
if(this.statusId){
this.workeOrderStatusIndex = this.array.findIndex(item=>item.id==this.statusId);
if(this.workeOrderStatusIndex!=-1) {