Commit f5ef97a4 authored by youjie's avatar youjie

修复

parent 312a8b40
......@@ -91,10 +91,12 @@
// #ifdef MP-AG
this.getEnumList()
// #endif
// #ifdef MP-DI
if (this.params.OrderTypeStr) {
let item = this.orderTypeList.find(x => x.Id == this.params.OrderTypeStr)
this.$emit('change', item)
}
// #endif
},
methods: {
getEnumList() {
......@@ -129,6 +131,12 @@
Id: '',
Name: '所有订单'
})
setTimeout(() => {
if (this.params.OrderTypeStr) {
let item = this.orderTypeList.find(x => x.Id == this.params.OrderTypeStr)
this.$emit('change', item)
}
}, 200)
}
}, (err) => {
uni.showToast({
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment