Commit fccff420 by liuwange1

运营

parent 4070047e
......@@ -108,18 +108,13 @@ export default {
// });
},
change1(index) {
if (index == 2 && this.activeIndex != 2) {
this.activeIndex = index;
if (index == 0) {
this.$axios.post("/osc/sendInt", {
arg: true,
name: "/JGDB",
});
} else if (this.activeIndex == 2 && index != 2) {
this.$axios.post("/osc/sendInt", {
arg: false,
name: "/JGDB",
arg: 17,
name: "/YJ",
});
}
this.activeIndex = index;
},
},
watch: {
......
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 sign in to comment