清理冗余代码
This commit is contained in:
@@ -59,10 +59,12 @@
|
||||
},
|
||||
onLoad() {
|
||||
deliverpre().then(res=>{
|
||||
console.log(res)
|
||||
this.state.array = res.expresses
|
||||
}).catch(err=>{
|
||||
console.log(err);
|
||||
uni.showToast({
|
||||
title: err.message,
|
||||
icon : 'none'
|
||||
})
|
||||
})
|
||||
},
|
||||
methods: {
|
||||
|
||||
Reference in New Issue
Block a user