Commit 5dd5b489 by liuwange1

优化指令

parent dd869fdc
...@@ -106,16 +106,26 @@ export default { ...@@ -106,16 +106,26 @@ export default {
} }
this.activeIndex2 = index; this.activeIndex2 = index;
this.$axios.post("/osc/sendInt", { this.$axios.post("/osc/sendInt", {
arg: 10,
name: "/YJ",
}).then(() => {
this.$axios.post("/osc/sendInt", {
arg: this.listR[index].id, arg: this.listR[index].id,
name: "/LC", name: "/LC",
}); });
});
}, },
changeOption(index) { changeOption(index) {
this.optionActiveIndex = index; this.optionActiveIndex = index;
this.$axios.post("/osc/sendInt", { this.$axios.post("/osc/sendInt", {
arg: index, arg: 10,
name: "/YJ",
}).then(() => {
this.$axios.post("/osc/sendInt", {
arg: index + 1,
name: "/EZ_XF", name: "/EZ_XF",
}); });
})
}, },
}, },
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