Commit fccff420 by liuwange1

运营

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