|
|
@ -190,8 +190,8 @@ export default {
|
|
|
|
canvas: null,
|
|
|
|
canvas: null,
|
|
|
|
ctx: null,
|
|
|
|
ctx: null,
|
|
|
|
imgpic: null,
|
|
|
|
imgpic: null,
|
|
|
|
color: "#00ff00",
|
|
|
|
color: "",
|
|
|
|
num: 5,
|
|
|
|
num: "",
|
|
|
|
showBigpic: false,
|
|
|
|
showBigpic: false,
|
|
|
|
flagline: true,
|
|
|
|
flagline: true,
|
|
|
|
};
|
|
|
|
};
|
|
|
@ -212,6 +212,8 @@ export default {
|
|
|
|
.then((res) => {
|
|
|
|
.then((res) => {
|
|
|
|
console.log(res);
|
|
|
|
console.log(res);
|
|
|
|
this.localPoints = res.data.list;
|
|
|
|
this.localPoints = res.data.list;
|
|
|
|
|
|
|
|
this.color = res.data.color;
|
|
|
|
|
|
|
|
this.num = res.data.boderWidth;
|
|
|
|
this.drawline();
|
|
|
|
this.drawline();
|
|
|
|
})
|
|
|
|
})
|
|
|
|
.catch((err) => {});
|
|
|
|
.catch((err) => {});
|
|
|
|