Commit 55e1a0db by liuwange1

xiugai

parent f9bacc11
......@@ -60,10 +60,16 @@ export default {
this.listR = this.listL[0].child || [];
},
buildClickHandle(index) {
this.activeIndex = index;
this.$axios.post("/osc/sendInt", {
arg: this.listL[index].id,
name: "/LY",
}).then(() => {
this.$axios.post("/osc/sendInt", {
arg: this.osc,
name: "/YJ",
}).then(() => {
this.activeIndex = index;
})
});
if (index == 0) {
this.$emit("change", {
......@@ -81,17 +87,21 @@ export default {
ldID: this.listL[this.activeIndex].id,
lcID: this.listR[index].id,
});
this.$axios
.post("/osc/sendInt", {
arg: this.osc,
name: "/YJ",
})
.then(() => {
this.$axios.post("/osc/sendInt", {
arg: this.listR[index].id,
name: "/LC",
});
});
this.$axios.post("/osc/sendInt", {
arg: this.listR[index].id,
name: "/LC",
});
// this.$axios
// .post("/osc/sendInt", {
// arg: this.osc,
// name: "/YJ",
// })
// .then(() => {
// this.$axios.post("/osc/sendInt", {
// arg: this.listR[index].id,
// name: "/LC",
// });
// });
this.$emit("listenBuildChange", {
pid: this.listL[this.activeIndex].id,
......
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