-
@@ -67,17 +67,21 @@ export default {
}
},
watch: {
- changeColor(val) {
- if (val == true) {
- let svg = document.getElementsByClassName('hamburger')
- console.log('svg',svg);
- svg[0].setAttribute('fill', 'rgba(255, 255, 255, 1)')
- } else {
- let svg = document.getElementsByClassName('hamburger')
- console.log('svg', svg);
- svg[0].setAttribute('fill', '')
- }
- },
+ // changeColor: {
+ // handler(val){
+ // if (val == true) {
+ // let svg = document.getElementsByClassName('hamburger')
+ // console.log('svg', svg)
+ // svg[0].style.color = 'rgba(255, 255, 255, 1)'
+ // svg[0].setAttribute('fill', 'rgba(255, 255, 255, 1)')
+ // } else {
+ // let svg = document.getElementsByClassName('hamburger')
+ // console.log('svg', svg);
+ // svg[0].setAttribute('fill', '')
+ // }
+ // },
+ // immediate: true, //立即执行
+ // }
},
methods: {
toggleSideBar() {
diff --git a/src/views/copilot/factoryData/components/ProdMonitor.vue b/src/views/copilot/factoryData/components/ProdMonitor.vue
index 2fe57b7..3943335 100644
--- a/src/views/copilot/factoryData/components/ProdMonitor.vue
+++ b/src/views/copilot/factoryData/components/ProdMonitor.vue
@@ -192,15 +192,12 @@ export default {
this.makeData();
this.$nextTick(() => {
let button = document.getElementsByClassName('button-than')
- console.log(button);
button[0].children[0].style.borderRadius = '4px 0 0 4px'
button[0].children[1].style.borderRadius = '0px 4px 4px 0'
- console.log(button[0].children[0].style);
})
},
methods: {
makeData() {
- console.log('msgObj', this.msgObj);
this.msgObj.chip = {};
this.msgObj.stand = {};
this.msgObj.bipv = {};
diff --git a/src/views/report/components/produceLineBarYearTarget.vue b/src/views/report/components/produceLineBarYearTarget.vue
index c77f4e2..ab87f62 100644
--- a/src/views/report/components/produceLineBarYearTarget.vue
+++ b/src/views/report/components/produceLineBarYearTarget.vue
@@ -1,7 +1,7 @@
@@ -51,7 +51,6 @@ export default {
},
},
formatter: function (params) {
- console.log('params', params);
var res = `${params[0].axisValueLabel}`;
for (var i = 0, l = params.length; i < l; i++) {
res +=
--
2.45.2