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