This commit is contained in:
weipengfei 2024-02-04 09:59:24 +08:00
parent e7cee42f9f
commit fe2c5c28dc

View File

@ -485,17 +485,24 @@ export default {
//
getChildOrder() {
this.loading = true;
getChildrenOrderApi(this.orderId)
.then((res) => {
this.activeName = 'detail'
this.childOrder = res.data
setTimeout(()=>{
this.activeName = 'detail'
this.childOrder = []
setTimeout(()=>{
this.loading = false;
},500)
})
.catch((res) => {
this.$message.error(res.message)
})
// this.loading = true;
// getChildrenOrderApi(this.orderId)
// .then((res) => {
// this.activeName = 'detail'
// this.childOrder = res.data
// setTimeout(()=>{
// this.loading = false;
// },500)
// })
// .catch((res) => {
// this.$message.error(res.message)
// })
},
//
getOrderData() {