Commit b233d5b1 by 李伟康

fix: 优化外部数据处理逻辑

- 在 OrderPopup 组件中,添加了对空值的判断
- 避免在接收到空值时覆盖已有的缓存数据
1 parent 54d23b27
......@@ -124,7 +124,7 @@ export default {
},
externalData: {
handler (val) {
this.componentObject.cacheData = val
if (val) this.componentObject.cacheData = val
},
deep: true,
}
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!