Commit 0bb66b47 authored by 徐俊's avatar 徐俊

xujun

parent 6341116c
......@@ -362,7 +362,7 @@ export default {
},
},
created () {
console.log(this.deviceList)
},
methods: {
calNumberAmount () {
......
......@@ -288,6 +288,8 @@ export default {
},
},
created() {
if (this.deviceList)
this.calNumberAmount()
},
methods: {
calNumberAmount() {
......@@ -318,12 +320,12 @@ export default {
this.calNumberAmount();
},
},
watch: {
deviceList: {
handler(deviceList) {
if (!!deviceList) this.calNumberAmount();
},
},
},
// watch: {
// deviceList: {
// handler(deviceList) {
// if (!!deviceList) this.calNumberAmount();
// },
// },
// },
};
</script>
\ No newline at end of file
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