master
fanluyan 2 years ago
parent 5e38d5e48a
commit d263b9ee85

@ -70,5 +70,5 @@
font-size: 12px; font-size: 12px;
} }
.el-popper[x-placement^="bottom"] { .el-popper[x-placement^="bottom"] {
margin-top: 6px !important; margin-top: 2px !important;
} }

@ -331,7 +331,9 @@ export default {
.then((res) => { .then((res) => {
console.log(res); console.log(res);
this.localPoints = res.data.list; this.localPoints = res.data.list;
if (this.markEnable === 1) {
this.drawline(); this.drawline();
}
}) })
.catch((err) => {}); .catch((err) => {});
}, },
@ -354,7 +356,9 @@ export default {
.then((res) => { .then((res) => {
console.log(res); console.log(res);
this.localPoints = res.data.list; this.localPoints = res.data.list;
if (this.markEnable === 1) {
this.drawline(); this.drawline();
}
}) })
.catch((err) => {}); .catch((err) => {});
}, },

@ -204,7 +204,9 @@
<el-dropdown-item command="close">关闭</el-dropdown-item> <el-dropdown-item command="close">关闭</el-dropdown-item>
</el-dropdown-menu> </el-dropdown-menu>
</el-dropdown> </el-dropdown>
<el-button type="primary" @click="taggleText">
{{ showLineFlag ? "显示线缆" : "隐藏线缆" }}
</el-button>
<!-- <el-button type="primary" @click="handlehistoryPic" <!-- <el-button type="primary" @click="handlehistoryPic"
>历史图片</el-button >历史图片</el-button
> --> > -->
@ -566,6 +568,7 @@ export default {
break; break;
} }
}, },
handleShowErr() { handleShowErr() {
this.$message({ this.$message({
showClose: true, showClose: true,

Loading…
Cancel
Save