update 产量驾驶舱
This commit is contained in:
@@ -33,9 +33,17 @@ export default {
|
||||
},
|
||||
data() {
|
||||
return {
|
||||
currentActive: '',
|
||||
currentActive: this.options[0],
|
||||
};
|
||||
},
|
||||
watch: {
|
||||
currentActive: {
|
||||
handler(val) {
|
||||
this.$emit("update:active", val);
|
||||
},
|
||||
immediate: true,
|
||||
},
|
||||
},
|
||||
computed: {},
|
||||
methods: {},
|
||||
};
|
||||
@@ -55,7 +63,7 @@ button {
|
||||
padding: 8px 12px;
|
||||
cursor: pointer;
|
||||
position: relative;
|
||||
transition: all .3s;
|
||||
transition: all 0.3s;
|
||||
}
|
||||
|
||||
button.active,
|
||||
|
||||
Reference in New Issue
Block a user