Commit 5dd5b489 by liuwange1

优化指令

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