|
@@ -77,7 +77,8 @@
|
|
|
<script>
|
|
|
import bus from "@/bus";
|
|
|
import { SGraphLayoutType } from "@saga-web/graph/lib";
|
|
|
-import systym from "./codeMapSystem.js"
|
|
|
+import systym from "./codeMapSystem.js";
|
|
|
+import { MessageBox } from 'element-ui';
|
|
|
export default {
|
|
|
data() {
|
|
|
return {
|
|
@@ -212,7 +213,15 @@ export default {
|
|
|
},
|
|
|
// 发布图例
|
|
|
publishMap(){
|
|
|
- bus.$emit("publishMap");
|
|
|
+ MessageBox.confirm('确认后即发布到平台?', '提示', {
|
|
|
+ confirmButtonText: '确认',
|
|
|
+ cancelButtonText: '取消',
|
|
|
+ type: 'warning'
|
|
|
+ }).then(() => {
|
|
|
+ bus.$emit("publishMap");
|
|
|
+ }).catch(() => {
|
|
|
+ });
|
|
|
+
|
|
|
},
|
|
|
// 对齐item
|
|
|
changeAlignItem(val) {
|