Fix:订单不存在
This commit is contained in:
@@ -106,12 +106,12 @@ export default {
|
||||
deep: true
|
||||
},
|
||||
// 修改后的监听器
|
||||
'myGift': {
|
||||
myGift: {
|
||||
handler(newVal) {
|
||||
|
||||
this.order = newVal.orderId
|
||||
this.order = newVal && newVal.orderId
|
||||
},
|
||||
deep: true
|
||||
deep: true,
|
||||
immediate: true
|
||||
}
|
||||
},
|
||||
methods: {
|
||||
|
||||
Reference in New Issue
Block a user