Merge branch 'fly' into xy-ly

master
fanluyan 2 years ago
commit 5176e2d4cd

@ -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) => {});

@ -93,7 +93,7 @@ export default {
ctx: null, ctx: null,
imgpic: null, imgpic: null,
drawingSurfaceImageData: "", drawingSurfaceImageData: "",
color: "#00ff00", color: "#0000ff",
num: 2, num: 2,
flag: false, flag: false,
x: 0, x: 0,

Loading…
Cancel
Save