YaolongHan 4 years ago
parent
commit
c9afd81dff
31 changed files with 570 additions and 140 deletions
  1. 2 1
      babel.config.js
  2. 309 7
      package-lock.json
  3. 2 0
      package.json
  4. BIN
      persagyTopo/favicon.ico
  5. 1 0
      persagyTopo/index.html
  6. 1 0
      persagyTopo/static/css/app.18d071a7.css
  7. 1 0
      persagyTopo/static/css/chunk-17ded99a.e7561c74.css
  8. 4 0
      persagyTopo/static/css/chunk-341df809.125e696f.css
  9. 2 0
      persagyTopo/static/css/chunk-vendors.71a5a850.css
  10. BIN
      persagyTopo/static/fonts/element-icons.535877f5.woff
  11. BIN
      persagyTopo/static/fonts/element-icons.732389de.ttf
  12. 44 0
      persagyTopo/static/img/iconfont.30b4ac59.svg
  13. 2 0
      persagyTopo/static/js/app.3ccc65a0.js
  14. 1 0
      persagyTopo/static/js/app.3ccc65a0.js.map
  15. 8 0
      persagyTopo/static/js/chunk-17ded99a.22f4eeeb.js
  16. 1 0
      persagyTopo/static/js/chunk-17ded99a.22f4eeeb.js.map
  17. 10 0
      persagyTopo/static/js/chunk-341df809.bb27b639.js
  18. 1 0
      persagyTopo/static/js/chunk-341df809.bb27b639.js.map
  19. 36 0
      persagyTopo/static/js/chunk-vendors.5f6a1bec.js
  20. 1 0
      persagyTopo/static/js/chunk-vendors.5f6a1bec.js.map
  21. 0 2
      src/components/editClass/big-edit/SBaseEditScene.ts
  22. 1 1
      src/components/editClass/edit/SGraphEdit.ts
  23. 7 7
      src/components/editClass/edit/SGraphEditScene.ts
  24. 0 88
      src/components/editClass/edit/SObjectItemEdit.ts
  25. 1 2
      src/components/editClass/edit/index.ts
  26. 1 1
      src/components/editview/leftToolBar.vue
  27. 3 9
      src/components/editview/rightPropertyBar.vue
  28. 122 21
      src/components/editview/rightPropertyBar/baseTextPro.vue
  29. 2 0
      src/main.ts
  30. 2 1
      src/router/index.ts
  31. 5 0
      vue.config.js

+ 2 - 1
babel.config.js

@@ -3,6 +3,7 @@ module.exports = {
     '@vue/cli-plugin-babel/preset'
   ],
   plugins: [
+    ["import", { "libraryName": "ant-design-vue", "libraryDirectory": "es", "style": "css" }],
     [
       "component",
       {
@@ -11,6 +12,6 @@ module.exports = {
         "libDir": "dist",
         "styleLibrary": { "name": "theme", "base": true }
       }
-    ]
+    ],
   ]
 }

+ 309 - 7
package-lock.json

@@ -26,6 +26,28 @@
         "svg-tags": "^1.0.0"
       }
     },
+    "@ant-design/colors": {
+      "version": "3.2.2",
+      "resolved": "https://registry.npmjs.org/@ant-design/colors/-/colors-3.2.2.tgz",
+      "integrity": "sha512-YKgNbG2dlzqMhA9NtI3/pbY16m3Yl/EeWBRa+lB1X1YaYxHrxNexiQYCLTWO/uDvAjLFMEDU+zR901waBtMtjQ==",
+      "requires": {
+        "tinycolor2": "^1.4.1"
+      }
+    },
+    "@ant-design/icons": {
+      "version": "2.1.1",
+      "resolved": "https://registry.npmjs.org/@ant-design/icons/-/icons-2.1.1.tgz",
+      "integrity": "sha512-jCH+k2Vjlno4YWl6g535nHR09PwCEmTBKAG6VqF+rhkrSPRLfgpU2maagwbZPLjaHuU5Jd1DFQ2KJpQuI6uG8w=="
+    },
+    "@ant-design/icons-vue": {
+      "version": "2.0.0",
+      "resolved": "https://registry.npmjs.org/@ant-design/icons-vue/-/icons-vue-2.0.0.tgz",
+      "integrity": "sha512-2c0QQE5hL4N48k5NkPG5sdpMl9YnvyNhf0U7YkdZYDlLnspoRU7vIA0UK9eHBs6OpFLcJB6o8eJrIl2ajBskPg==",
+      "requires": {
+        "@ant-design/colors": "^3.1.0",
+        "babel-runtime": "^6.26.0"
+      }
+    },
     "@babel/code-frame": {
       "version": "7.10.4",
       "resolved": "https://registry.npm.taobao.org/@babel/code-frame/download/@babel/code-frame-7.10.4.tgz",
@@ -1172,6 +1194,15 @@
         "@types/uuid": "^8.0.0"
       }
     },
+    "@simonwep/pickr": {
+      "version": "1.7.4",
+      "resolved": "https://registry.npmjs.org/@simonwep/pickr/-/pickr-1.7.4.tgz",
+      "integrity": "sha512-fq7jgKJT21uWGC1mARBHvvd1JYlEf93o7SuVOB4Lr0x/2UPuNC9Oe9n/GzVeg4oVtqMDfh1wIEJpsdOJEZb+3g==",
+      "requires": {
+        "core-js": "^3.6.5",
+        "nanopop": "^2.1.0"
+      }
+    },
     "@soda/friendly-errors-webpack-plugin": {
       "version": "1.7.1",
       "resolved": "https://registry.npm.taobao.org/@soda/friendly-errors-webpack-plugin/download/@soda/friendly-errors-webpack-plugin-1.7.1.tgz",
@@ -2375,6 +2406,14 @@
       "integrity": "sha1-DeiJpgEgOQmw++B7iTjcIdLpZ7w=",
       "dev": true
     },
+    "add-dom-event-listener": {
+      "version": "1.1.0",
+      "resolved": "https://registry.npmjs.org/add-dom-event-listener/-/add-dom-event-listener-1.1.0.tgz",
+      "integrity": "sha512-WCxx1ixHT0GQU9hb0KI/mhgRQhnU+U3GvwY6ZvVjYq8rsihIGoaIOUbY0yMPBxLH5MDtr0kz3fisWGNcbWW7Jw==",
+      "requires": {
+        "object-assign": "4.x"
+      }
+    },
     "address": {
       "version": "1.1.2",
       "resolved": "https://registry.npm.taobao.org/address/download/address-1.1.2.tgz",
@@ -2465,6 +2504,50 @@
         "color-convert": "^1.9.0"
       }
     },
+    "ant-design-vue": {
+      "version": "1.6.5",
+      "resolved": "https://registry.npmjs.org/ant-design-vue/-/ant-design-vue-1.6.5.tgz",
+      "integrity": "sha512-FzLrK+JuJUq+g4vd+UjFFi13ZdSsb11EZFapisFXilJxpc1LxqyunZu5AP4nr9vFLs3J4UX2A6q+Rp/Fi6JrLg==",
+      "requires": {
+        "@ant-design/icons": "^2.1.1",
+        "@ant-design/icons-vue": "^2.0.0",
+        "@simonwep/pickr": "~1.7.0",
+        "add-dom-event-listener": "^1.0.2",
+        "array-tree-filter": "^2.1.0",
+        "async-validator": "^3.0.3",
+        "babel-helper-vue-jsx-merge-props": "^2.0.3",
+        "babel-runtime": "6.x",
+        "classnames": "^2.2.5",
+        "component-classes": "^1.2.6",
+        "dom-align": "^1.10.4",
+        "dom-closest": "^0.2.0",
+        "dom-scroll-into-view": "^2.0.0",
+        "enquire.js": "^2.1.6",
+        "intersperse": "^1.0.0",
+        "is-mobile": "^2.2.1",
+        "is-negative-zero": "^2.0.0",
+        "ismobilejs": "^1.0.0",
+        "json2mq": "^0.2.0",
+        "lodash": "^4.17.5",
+        "moment": "^2.21.0",
+        "mutationobserver-shim": "^0.3.2",
+        "node-emoji": "^1.10.0",
+        "omit.js": "^1.0.0",
+        "raf": "^3.4.0",
+        "resize-observer-polyfill": "^1.5.1",
+        "shallow-equal": "^1.0.0",
+        "shallowequal": "^1.0.2",
+        "vue-ref": "^2.0.0",
+        "warning": "^4.0.0"
+      },
+      "dependencies": {
+        "async-validator": {
+          "version": "3.4.0",
+          "resolved": "https://registry.npmjs.org/async-validator/-/async-validator-3.4.0.tgz",
+          "integrity": "sha512-VrFk4eYiJAWKskEz115iiuCf9O0ftnMMPXrOFMqyzGH2KxO7YwncKyn/FgOOP+0MDHMfXL7gLExagCutaZGigA=="
+        }
+      }
+    },
     "any-promise": {
       "version": "1.3.0",
       "resolved": "https://registry.npm.taobao.org/any-promise/download/any-promise-1.3.0.tgz",
@@ -2526,6 +2609,11 @@
       "integrity": "sha1-ml9pkFGx5wczKPKgCJaLZOopVdI=",
       "dev": true
     },
+    "array-tree-filter": {
+      "version": "2.1.0",
+      "resolved": "https://registry.npmjs.org/array-tree-filter/-/array-tree-filter-2.1.0.tgz",
+      "integrity": "sha512-4ROwICNlNw/Hqa9v+rk5h22KjmzB1JGTMVKP2AKJBOCgb0yL0ASf0+YvCcLNNwquOHNX48jkeZIJ3a+oOQqKcw=="
+    },
     "array-union": {
       "version": "1.0.2",
       "resolved": "https://registry.npm.taobao.org/array-union/download/array-union-1.0.2.tgz",
@@ -2822,6 +2910,16 @@
         "object.assign": "^4.1.0"
       }
     },
+    "babel-plugin-import": {
+      "version": "1.12.0",
+      "resolved": "https://registry.npmjs.org/babel-plugin-import/-/babel-plugin-import-1.12.0.tgz",
+      "integrity": "sha512-3Fo7sJ2Hm71y1VJS7eMA/E7J5+roKJmzwia5BxzUQREBs6CRylwtvQq8m39W8nplG4Y7rZwOCndh5MzRTSmHpA==",
+      "dev": true,
+      "requires": {
+        "@babel/helper-module-imports": "^7.0.0",
+        "@babel/runtime": "^7.0.0"
+      }
+    },
     "babel-runtime": {
       "version": "6.26.0",
       "resolved": "http://dev.dp.sagacloud.cn:8082/repository/npm-saga/babel-runtime/-/babel-runtime-6.26.0.tgz",
@@ -3587,6 +3685,11 @@
         }
       }
     },
+    "classnames": {
+      "version": "2.2.6",
+      "resolved": "https://registry.npmjs.org/classnames/-/classnames-2.2.6.tgz",
+      "integrity": "sha512-JR/iSQOSt+LQIWwrwEzJ9uk0xfN3mTVYMwt1Ir5mUcSN6pU+V4zQFFaJsclJbPuAUQH+yfWef6tm7l1quW3C8Q=="
+    },
     "clean-css": {
       "version": "4.2.3",
       "resolved": "https://registry.npm.taobao.org/clean-css/download/clean-css-4.2.3.tgz?cache=0&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fclean-css%2Fdownload%2Fclean-css-4.2.3.tgz",
@@ -3697,6 +3800,17 @@
       "integrity": "sha1-ovSEN6LKqaIkNueUvwceyeYc7fY=",
       "dev": true
     },
+    "clipboard": {
+      "version": "2.0.6",
+      "resolved": "https://registry.npmjs.org/clipboard/-/clipboard-2.0.6.tgz",
+      "integrity": "sha512-g5zbiixBRk/wyKakSwCKd7vQXDjFnAMGHoEyBogG/bw9kTD9GvdAvaoRR1ALcEzt3pVKxZR0pViekPMIS0QyGg==",
+      "optional": true,
+      "requires": {
+        "good-listener": "^1.2.2",
+        "select": "^1.1.2",
+        "tiny-emitter": "^2.0.0"
+      }
+    },
     "clipboardy": {
       "version": "2.3.0",
       "resolved": "https://registry.npm.taobao.org/clipboardy/download/clipboardy-2.3.0.tgz",
@@ -3819,12 +3933,25 @@
       "integrity": "sha1-3dgA2gxmEnOTzKWVDqloo6rxJTs=",
       "dev": true
     },
+    "component-classes": {
+      "version": "1.2.6",
+      "resolved": "https://registry.npmjs.org/component-classes/-/component-classes-1.2.6.tgz",
+      "integrity": "sha1-xkI5TDYYpNiwuJGe/Mu9kw5c1pE=",
+      "requires": {
+        "component-indexof": "0.0.3"
+      }
+    },
     "component-emitter": {
       "version": "1.3.0",
       "resolved": "https://registry.npm.taobao.org/component-emitter/download/component-emitter-1.3.0.tgz",
       "integrity": "sha1-FuQHD7qK4ptnnyIVhT7hgasuq8A=",
       "dev": true
     },
+    "component-indexof": {
+      "version": "0.0.3",
+      "resolved": "https://registry.npmjs.org/component-indexof/-/component-indexof-0.0.3.tgz",
+      "integrity": "sha1-EdCRMSI5648yyPJa6csAL/6NPCQ="
+    },
     "compressible": {
       "version": "2.0.18",
       "resolved": "https://registry.npm.taobao.org/compressible/download/compressible-2.0.18.tgz",
@@ -4730,6 +4857,12 @@
       "integrity": "sha1-3zrhmayt+31ECqrgsp4icrJOxhk=",
       "dev": true
     },
+    "delegate": {
+      "version": "3.2.0",
+      "resolved": "https://registry.npmjs.org/delegate/-/delegate-3.2.0.tgz",
+      "integrity": "sha512-IofjkYBZaZivn0V8nnsMJGBr4jVLxHDheKSW88PyxS5QC4Vo9ZbZVvhzlSxY87fVq3STR6r+4cGepyHkcWOQSw==",
+      "optional": true
+    },
     "depd": {
       "version": "1.1.2",
       "resolved": "https://registry.npm.taobao.org/depd/download/depd-1.1.2.tgz",
@@ -4826,6 +4959,19 @@
         "esutils": "^2.0.2"
       }
     },
+    "dom-align": {
+      "version": "1.12.0",
+      "resolved": "https://registry.npmjs.org/dom-align/-/dom-align-1.12.0.tgz",
+      "integrity": "sha512-YkoezQuhp3SLFGdOlr5xkqZ640iXrnHAwVYcDg8ZKRUtO7mSzSC2BA5V0VuyAwPSJA4CLIc6EDDJh4bEsD2+zA=="
+    },
+    "dom-closest": {
+      "version": "0.2.0",
+      "resolved": "https://registry.npmjs.org/dom-closest/-/dom-closest-0.2.0.tgz",
+      "integrity": "sha1-69n5HRvyLo1vR3h2u80+yQIWwM8=",
+      "requires": {
+        "dom-matches": ">=1.0.1"
+      }
+    },
     "dom-converter": {
       "version": "0.2.0",
       "resolved": "https://registry.npm.taobao.org/dom-converter/download/dom-converter-0.2.0.tgz",
@@ -4835,6 +4981,16 @@
         "utila": "~0.4"
       }
     },
+    "dom-matches": {
+      "version": "2.0.0",
+      "resolved": "https://registry.npmjs.org/dom-matches/-/dom-matches-2.0.0.tgz",
+      "integrity": "sha1-0nKLQWqHUzmA6wibhI0lPPI6dYw="
+    },
+    "dom-scroll-into-view": {
+      "version": "2.0.1",
+      "resolved": "https://registry.npmjs.org/dom-scroll-into-view/-/dom-scroll-into-view-2.0.1.tgz",
+      "integrity": "sha512-bvVTQe1lfaUr1oFzZX80ce9KLDlZ3iU+XGNE/bz9HnGdklTieqsbmsLHe+rT2XWqopvL0PckkYqN7ksmm5pe3w=="
+    },
     "dom-serializer": {
       "version": "0.2.2",
       "resolved": "https://registry.npm.taobao.org/dom-serializer/download/dom-serializer-0.2.2.tgz",
@@ -5050,6 +5206,11 @@
         }
       }
     },
+    "enquire.js": {
+      "version": "2.1.6",
+      "resolved": "https://registry.npmjs.org/enquire.js/-/enquire.js-2.1.6.tgz",
+      "integrity": "sha1-PoeAybi4NQhMP2DhZtvDwqPImBQ="
+    },
     "entities": {
       "version": "2.0.3",
       "resolved": "https://registry.npm.taobao.org/entities/download/entities-2.0.3.tgz",
@@ -6160,6 +6321,15 @@
         "slash": "^2.0.0"
       }
     },
+    "good-listener": {
+      "version": "1.2.2",
+      "resolved": "https://registry.npmjs.org/good-listener/-/good-listener-1.2.2.tgz",
+      "integrity": "sha1-1TswzfkxPf+33JoNR3CWqm0UXFA=",
+      "optional": true,
+      "requires": {
+        "delegate": "^3.1.2"
+      }
+    },
     "graceful-fs": {
       "version": "4.2.4",
       "resolved": "https://registry.npm.taobao.org/graceful-fs/download/graceful-fs-4.2.4.tgz?cache=0&sync_timestamp=1588086876757&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fgraceful-fs%2Fdownload%2Fgraceful-fs-4.2.4.tgz",
@@ -6841,6 +7011,11 @@
         }
       }
     },
+    "intersperse": {
+      "version": "1.0.0",
+      "resolved": "https://registry.npmjs.org/intersperse/-/intersperse-1.0.0.tgz",
+      "integrity": "sha1-8lYfsc/vn1J3zDNHoiiGtDUaUYE="
+    },
     "invariant": {
       "version": "2.2.4",
       "resolved": "https://registry.npm.taobao.org/invariant/download/invariant-2.2.4.tgz",
@@ -7034,6 +7209,16 @@
         "is-extglob": "^2.1.1"
       }
     },
+    "is-mobile": {
+      "version": "2.2.2",
+      "resolved": "https://registry.npmjs.org/is-mobile/-/is-mobile-2.2.2.tgz",
+      "integrity": "sha512-wW/SXnYJkTjs++tVK5b6kVITZpAZPtUrt9SF80vvxGiF/Oywal+COk1jlRkiVq15RFNEQKQY31TkV24/1T5cVg=="
+    },
+    "is-negative-zero": {
+      "version": "2.0.0",
+      "resolved": "https://registry.npmjs.org/is-negative-zero/-/is-negative-zero-2.0.0.tgz",
+      "integrity": "sha1-lVOxIbD6wohp2p7UWeIMdUN4hGE="
+    },
     "is-number": {
       "version": "3.0.0",
       "resolved": "https://registry.npm.taobao.org/is-number/download/is-number-3.0.0.tgz",
@@ -7168,6 +7353,11 @@
       "integrity": "sha1-6PvzdNxVb/iUehDcsFctYz8s+hA=",
       "dev": true
     },
+    "ismobilejs": {
+      "version": "1.1.1",
+      "resolved": "https://registry.npmjs.org/ismobilejs/-/ismobilejs-1.1.1.tgz",
+      "integrity": "sha512-VaFW53yt8QO61k2WJui0dHf4SlL8lxBofUuUmwBo0ljPk0Drz2TiuDW4jo3wDcv41qy/SxrJ+VAzJ/qYqsmzRw=="
+    },
     "isobject": {
       "version": "3.0.1",
       "resolved": "https://registry.npm.taobao.org/isobject/download/isobject-3.0.1.tgz",
@@ -7231,8 +7421,7 @@
     "js-tokens": {
       "version": "4.0.0",
       "resolved": "https://registry.npm.taobao.org/js-tokens/download/js-tokens-4.0.0.tgz",
-      "integrity": "sha1-GSA/tZmR35jjoocFDUZHzerzJJk=",
-      "dev": true
+      "integrity": "sha1-GSA/tZmR35jjoocFDUZHzerzJJk="
     },
     "js-yaml": {
       "version": "3.14.0",
@@ -7292,6 +7481,14 @@
       "integrity": "sha1-Epai1Y/UXxmg9s4B1lcB4sc1tus=",
       "dev": true
     },
+    "json2mq": {
+      "version": "0.2.0",
+      "resolved": "https://registry.npmjs.org/json2mq/-/json2mq-0.2.0.tgz",
+      "integrity": "sha1-tje9O6nqvhIsg+lyBIOusQ0skEo=",
+      "requires": {
+        "string-convert": "^0.2.0"
+      }
+    },
     "json3": {
       "version": "3.3.3",
       "resolved": "https://registry.npm.taobao.org/json3/download/json3-3.3.3.tgz",
@@ -7561,6 +7758,11 @@
       "integrity": "sha1-vMbEmkKihA7Zl/Mj6tpezRguC/4=",
       "dev": true
     },
+    "lodash.toarray": {
+      "version": "4.4.0",
+      "resolved": "https://registry.npmjs.org/lodash.toarray/-/lodash.toarray-4.4.0.tgz",
+      "integrity": "sha1-JMS/zWsvuji/0FlNsRedjptlZWE="
+    },
     "lodash.transform": {
       "version": "4.6.0",
       "resolved": "https://registry.npm.taobao.org/lodash.transform/download/lodash.transform-4.6.0.tgz",
@@ -7592,7 +7794,6 @@
       "version": "1.4.0",
       "resolved": "https://registry.npm.taobao.org/loose-envify/download/loose-envify-1.4.0.tgz",
       "integrity": "sha1-ce5R+nvkyuwaY4OffmgtgTLTDK8=",
-      "dev": true,
       "requires": {
         "js-tokens": "^3.0.0 || ^4.0.0"
       }
@@ -7965,6 +8166,11 @@
         "minimist": "^1.2.5"
       }
     },
+    "moment": {
+      "version": "2.28.0",
+      "resolved": "https://registry.npmjs.org/moment/-/moment-2.28.0.tgz",
+      "integrity": "sha512-Z5KOjYmnHyd/ukynmFd/WwyXHd7L4J9vTI/nn5Ap9AVUgaAE15VvQ9MOGmJJygEUklupqIrFnor/tjTwRU+tQw=="
+    },
     "move-concurrently": {
       "version": "1.0.1",
       "resolved": "https://registry.npm.taobao.org/move-concurrently/download/move-concurrently-1.0.1.tgz",
@@ -8001,6 +8207,11 @@
       "integrity": "sha1-iZ8R2WhuXgXLkbNdXw5jt3PPyQE=",
       "dev": true
     },
+    "mutationobserver-shim": {
+      "version": "0.3.7",
+      "resolved": "https://registry.npmjs.org/mutationobserver-shim/-/mutationobserver-shim-0.3.7.tgz",
+      "integrity": "sha512-oRIDTyZQU96nAiz2AQyngwx1e89iApl2hN5AOYwyxLUB47UYsU3Wv9lJWqH5y/QdiYkc5HQLi23ZNB3fELdHcQ=="
+    },
     "mute-stream": {
       "version": "0.0.8",
       "resolved": "https://registry.npm.taobao.org/mute-stream/download/mute-stream-0.0.8.tgz",
@@ -8044,6 +8255,11 @@
         "to-regex": "^3.0.1"
       }
     },
+    "nanopop": {
+      "version": "2.1.0",
+      "resolved": "https://registry.npmjs.org/nanopop/-/nanopop-2.1.0.tgz",
+      "integrity": "sha512-jGTwpFRexSH+fxappnGQtN9dspgE2ipa1aOjtR24igG0pv6JCxImIAmrLRHX+zUF5+1wtsFVbKyfP51kIGAVNw=="
+    },
     "native-request": {
       "version": "1.0.7",
       "resolved": "https://registry.npm.taobao.org/native-request/download/native-request-1.0.7.tgz",
@@ -8084,6 +8300,14 @@
         "lower-case": "^1.1.1"
       }
     },
+    "node-emoji": {
+      "version": "1.10.0",
+      "resolved": "https://registry.npmjs.org/node-emoji/-/node-emoji-1.10.0.tgz",
+      "integrity": "sha512-Yt3384If5H6BYGVHiHwTL+99OzJKHhgp82S8/dktEK73T26BazdgZ4JZh92xSVtGNJvz9UbXdNAc5hcrXV42vw==",
+      "requires": {
+        "lodash.toarray": "^4.4.0"
+      }
+    },
     "node-forge": {
       "version": "0.9.0",
       "resolved": "https://registry.npm.taobao.org/node-forge/download/node-forge-0.9.0.tgz",
@@ -8214,8 +8438,7 @@
     "object-assign": {
       "version": "4.1.1",
       "resolved": "https://registry.npm.taobao.org/object-assign/download/object-assign-4.1.1.tgz",
-      "integrity": "sha1-IQmtx5ZYh8/AXLvUQsrIv7s2CGM=",
-      "dev": true
+      "integrity": "sha1-IQmtx5ZYh8/AXLvUQsrIv7s2CGM="
     },
     "object-copy": {
       "version": "0.1.0",
@@ -8334,6 +8557,14 @@
       "integrity": "sha1-Cb6jND1BhZ69RGKS0RydTbYZCE4=",
       "dev": true
     },
+    "omit.js": {
+      "version": "1.0.2",
+      "resolved": "https://registry.npmjs.org/omit.js/-/omit.js-1.0.2.tgz",
+      "integrity": "sha512-/QPc6G2NS+8d4L/cQhbk6Yit1WTB6Us2g84A7A/1+w9d/eRGHyEqC5kkQtHVoHZ5NFWGG7tUGgrhVZwgZanKrQ==",
+      "requires": {
+        "babel-runtime": "^6.23.0"
+      }
+    },
     "on-finished": {
       "version": "2.3.0",
       "resolved": "https://registry.npm.taobao.org/on-finished/download/on-finished-2.3.0.tgz",
@@ -8667,8 +8898,7 @@
     "performance-now": {
       "version": "2.1.0",
       "resolved": "https://registry.npm.taobao.org/performance-now/download/performance-now-2.1.0.tgz",
-      "integrity": "sha1-Ywn04OX6kT7BxpMHrjZLSzd8nns=",
-      "dev": true
+      "integrity": "sha1-Ywn04OX6kT7BxpMHrjZLSzd8nns="
     },
     "picomatch": {
       "version": "2.2.2",
@@ -9402,6 +9632,14 @@
         "utila": "~0.4"
       }
     },
+    "prismjs": {
+      "version": "1.21.0",
+      "resolved": "https://registry.npmjs.org/prismjs/-/prismjs-1.21.0.tgz",
+      "integrity": "sha512-uGdSIu1nk3kej2iZsLyDoJ7e9bnPzIgY0naW/HdknGj61zScaprVEVGHrPoXqI+M9sP0NDnTK2jpkvmldpuqDw==",
+      "requires": {
+        "clipboard": "^2.0.0"
+      }
+    },
     "process": {
       "version": "0.11.10",
       "resolved": "https://registry.npm.taobao.org/process/download/process-0.11.10.tgz",
@@ -9555,6 +9793,14 @@
       "integrity": "sha1-M0WUG0FTy50ILY7uTNogFqmu9/Y=",
       "dev": true
     },
+    "raf": {
+      "version": "3.4.1",
+      "resolved": "https://registry.npmjs.org/raf/-/raf-3.4.1.tgz",
+      "integrity": "sha512-Sq4CW4QhwOHE8ucn6J34MqtZCeWFP2aQSmrlroYgqAV1PjStIhJXxYuTgUIfkEk7zTLjmIjLmU5q+fbD1NnOJA==",
+      "requires": {
+        "performance-now": "^2.1.0"
+      }
+    },
     "randombytes": {
       "version": "2.1.0",
       "resolved": "https://registry.npm.taobao.org/randombytes/download/randombytes-2.1.0.tgz",
@@ -10007,6 +10253,12 @@
         "ajv-keywords": "^3.4.1"
       }
     },
+    "select": {
+      "version": "1.1.2",
+      "resolved": "https://registry.npmjs.org/select/-/select-1.1.2.tgz",
+      "integrity": "sha1-DnNQrN7ICxEIUoeG7B1EGNEbOW0=",
+      "optional": true
+    },
     "select-hose": {
       "version": "2.0.0",
       "resolved": "https://registry.npm.taobao.org/select-hose/download/select-hose-2.0.0.tgz",
@@ -10208,6 +10460,16 @@
         "safe-buffer": "^5.0.1"
       }
     },
+    "shallow-equal": {
+      "version": "1.2.1",
+      "resolved": "https://registry.npmjs.org/shallow-equal/-/shallow-equal-1.2.1.tgz",
+      "integrity": "sha512-S4vJDjHHMBaiZuT9NPb616CSmLf618jawtv3sufLl6ivK8WocjAo58cXwbRV1cgqxH0Qbv+iUt6m05eqEa2IRA=="
+    },
+    "shallowequal": {
+      "version": "1.1.0",
+      "resolved": "https://registry.npmjs.org/shallowequal/-/shallowequal-1.1.0.tgz",
+      "integrity": "sha512-y0m1JoUZSlPAjXVtPPW70aZWfIL/dSP7AFkRnniLCrK/8MDKog3TySTBmckD+RObVxH0v4Tox67+F14PdED2oQ=="
+    },
     "shebang-command": {
       "version": "1.2.0",
       "resolved": "https://registry.npm.taobao.org/shebang-command/download/shebang-command-1.2.0.tgz",
@@ -10699,6 +10961,11 @@
       "integrity": "sha1-J5siXfHVgrH1TmWt3UNS4Y+qBxM=",
       "dev": true
     },
+    "string-convert": {
+      "version": "0.2.1",
+      "resolved": "https://registry.npmjs.org/string-convert/-/string-convert-0.2.1.tgz",
+      "integrity": "sha1-aYLMMEn7tM2F+LJFaLnZvznu/5c="
+    },
     "string-width": {
       "version": "4.2.0",
       "resolved": "https://registry.npm.taobao.org/string-width/download/string-width-4.2.0.tgz",
@@ -10840,6 +11107,17 @@
         "util.promisify": "~1.0.0"
       }
     },
+    "sybotan-vue-doc": {
+      "version": "1.1.22",
+      "resolved": "https://registry.npmjs.org/sybotan-vue-doc/-/sybotan-vue-doc-1.1.22.tgz",
+      "integrity": "sha512-uynfPTMiai+HbPZ2FJK1e4mClSt7AxH40bA4Iz++gPZnmj2sivdt0SWS+Lqi9epZPNq669l/wvzGvJol6tqi/g==",
+      "requires": {
+        "axios": "^0.20.0",
+        "core-js": "^3.6.5",
+        "prismjs": "^1.21.0",
+        "vue": "^2.6.11"
+      }
+    },
     "table": {
       "version": "5.4.6",
       "resolved": "https://registry.npm.taobao.org/table/download/table-5.4.6.tgz",
@@ -11024,6 +11302,17 @@
       "integrity": "sha1-QFQRqOfmM5/mTbmiNN4R3DHgK9Q=",
       "dev": true
     },
+    "tiny-emitter": {
+      "version": "2.1.0",
+      "resolved": "https://registry.npmjs.org/tiny-emitter/-/tiny-emitter-2.1.0.tgz",
+      "integrity": "sha512-NB6Dk1A9xgQPMoGqC5CVXn123gWyte215ONT5Pp5a0yt4nlEoO1ZWeCwpncaekPHXO60i47ihFnZPiRPjRMq4Q==",
+      "optional": true
+    },
+    "tinycolor2": {
+      "version": "1.4.1",
+      "resolved": "https://registry.npmjs.org/tinycolor2/-/tinycolor2-1.4.1.tgz",
+      "integrity": "sha1-9PrTM0R7wLB9TcjpIJ2POaisd+g="
+    },
     "tmp": {
       "version": "0.0.33",
       "resolved": "https://registry.npm.taobao.org/tmp/download/tmp-0.0.33.tgz?cache=0&sync_timestamp=1588178571895&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Ftmp%2Fdownload%2Ftmp-0.0.33.tgz",
@@ -11753,6 +12042,11 @@
         "vue-class-component": "^7.1.0"
       }
     },
+    "vue-ref": {
+      "version": "2.0.0",
+      "resolved": "https://registry.npmjs.org/vue-ref/-/vue-ref-2.0.0.tgz",
+      "integrity": "sha512-uKNKpFOVeWNqS2mrBZqnpLyXJo5Q+vnkex6JvpENvhXHFNBW/SJTP8vJywLuVT3DpxwXcF9N0dyIiZ4/NpTexQ=="
+    },
     "vue-router": {
       "version": "3.4.3",
       "resolved": "https://registry.npm.taobao.org/vue-router/download/vue-router-3.4.3.tgz?cache=0&sync_timestamp=1597843211453&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fvue-router%2Fdownload%2Fvue-router-3.4.3.tgz",
@@ -11797,6 +12091,14 @@
       "resolved": "https://registry.npm.taobao.org/vuex/download/vuex-3.5.1.tgz",
       "integrity": "sha1-8bjc6mSbwlJUz09DWAgdv12hiz0="
     },
+    "warning": {
+      "version": "4.0.3",
+      "resolved": "https://registry.npmjs.org/warning/-/warning-4.0.3.tgz",
+      "integrity": "sha512-rpJyN222KWIvHJ/F53XSZv0Zl/accqHR8et1kpaMTD/fLCRxtV8iX8czMzY7sVZupTI3zcUTg8eycS2kNF9l6w==",
+      "requires": {
+        "loose-envify": "^1.0.0"
+      }
+    },
     "watchpack": {
       "version": "1.7.4",
       "resolved": "https://registry.npm.taobao.org/watchpack/download/watchpack-1.7.4.tgz?cache=0&sync_timestamp=1598569254580&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fwatchpack%2Fdownload%2Fwatchpack-1.7.4.tgz",

+ 2 - 0
package.json

@@ -12,6 +12,7 @@
     "@persagy-web/big": "2.2.1",
     "@persagy-web/draw": "2.2.1",
     "@persagy-web/graph": "2.2.1",
+    "ant-design-vue": "^1.6.5",
     "axios": "^0.20.0",
     "core-js": "^3.6.5",
     "element-ui": "^2.13.2",
@@ -25,6 +26,7 @@
     "vuex": "^3.4.0"
   },
   "devDependencies": {
+    "babel-plugin-import": "^1.12.0",
     "@typescript-eslint/eslint-plugin": "^2.33.0",
     "@typescript-eslint/parser": "^2.33.0",
     "@vue/cli-plugin-babel": "^4.5.0",

BIN
persagyTopo/favicon.ico


File diff suppressed because it is too large
+ 1 - 0
persagyTopo/index.html


File diff suppressed because it is too large
+ 1 - 0
persagyTopo/static/css/app.18d071a7.css


File diff suppressed because it is too large
+ 1 - 0
persagyTopo/static/css/chunk-17ded99a.e7561c74.css


File diff suppressed because it is too large
+ 4 - 0
persagyTopo/static/css/chunk-341df809.125e696f.css


File diff suppressed because it is too large
+ 2 - 0
persagyTopo/static/css/chunk-vendors.71a5a850.css


BIN
persagyTopo/static/fonts/element-icons.535877f5.woff


BIN
persagyTopo/static/fonts/element-icons.732389de.ttf


File diff suppressed because it is too large
+ 44 - 0
persagyTopo/static/img/iconfont.30b4ac59.svg


File diff suppressed because it is too large
+ 2 - 0
persagyTopo/static/js/app.3ccc65a0.js


File diff suppressed because it is too large
+ 1 - 0
persagyTopo/static/js/app.3ccc65a0.js.map


File diff suppressed because it is too large
+ 8 - 0
persagyTopo/static/js/chunk-17ded99a.22f4eeeb.js


File diff suppressed because it is too large
+ 1 - 0
persagyTopo/static/js/chunk-17ded99a.22f4eeeb.js.map


File diff suppressed because it is too large
+ 10 - 0
persagyTopo/static/js/chunk-341df809.bb27b639.js


File diff suppressed because it is too large
+ 1 - 0
persagyTopo/static/js/chunk-341df809.bb27b639.js.map


File diff suppressed because it is too large
+ 36 - 0
persagyTopo/static/js/chunk-vendors.5f6a1bec.js


File diff suppressed because it is too large
+ 1 - 0
persagyTopo/static/js/chunk-vendors.5f6a1bec.js.map


+ 0 - 2
src/components/editClass/big-edit/SBaseEditScene.ts

@@ -12,8 +12,6 @@ export class SBaseEditScene extends SGraphEditScene {
     Markers: any = [];
     /**  管线对象 */
     Relations: any = [];
-    // 操作栈
-    undoStack = new SUndoStack();
 
     copyString: any[] = []
 

+ 1 - 1
src/components/editClass/edit/SGraphEdit.ts

@@ -57,7 +57,7 @@ export class SGraphEdit extends SGraphItem {
      *
      * @param   parent      指向父对象
      */
-    constructor(parent: SGraphItem | null,) {
+    constructor(parent: SGraphItem | null) {
         super();
         if (parent) {
             this.parent = parent;

+ 7 - 7
src/components/editClass/edit/SGraphEditScene.ts

@@ -38,13 +38,13 @@ export class SGraphEditScene extends SGraphScene {
     /////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
     //属性
     /** undo/redo存储栈 */
-    protected _undoStack = new SUndoStack();
-    get undoStack(): SUndoStack {
-        return this._undoStack
-    }
-    set undoStack(val: SUndoStack) {
-        this._undoStack = val
-    }
+    protected undoStack = new SUndoStack();
+    // get undoStack(): SUndoStack {
+    //     return this._undoStack
+    // }
+    // // set undoStack(val: SUndoStack) {
+    // //     this._undoStack = val
+    // // }
     /**编辑命令 */
     _editCmd: string = ""
     get editCmd(): string {

+ 0 - 88
src/components/editClass/edit/SObjectItemEdit.ts

@@ -1,88 +0,0 @@
-/*
- * *********************************************************************************************************************
- *
- *          !!
- *        .F88X
- *        X8888Y
- *      .}888888N;
- *        i888888N;        .:!              .I$WI:
- *          R888888I      .'N88~            i8}+8Y&8"l8i$8>8W~'>W8}8]KW+8IIN"8&
- *          .R888888I    .;N8888~          .X8'  "8I.!,/8"  !%NY8`"8I8~~8>,88I
- *            +888888N;  .8888888Y                                  "&&8Y.}8,
- *            ./888888N;  .R888888Y        .'}~    .>}'.`+>  i}!    "i'  +/'  .'i~  !11,.:">,  .~]!  .i}i
- *              ~888888%:  .I888888l      .]88~`1/iY88Ii+1'.R$8$8]"888888888>  Y8$  W8E  X8E  W8888'188Il}Y88$*
- *              18888888    E8888881    .]W%8$`R8X'&8%++N8i,8N%N8+l8%`  .}8N:.R$RE%N88N%N$K$R  188,FE$8%~Y88I
- *            .E888888I  .i8888888'      .:$8I;88+`E8R:/8N,.>881.`$8E/1/]N8X.Y8N`"KF&&FK!'88*."88K./$88%RN888+~
- *            8888888I  .,N888888~        ~88i"8W,!N8*.I88.}888%F,i$88"F88"  888:E8X.>88!i88>`888*.}Fl1]*}1YKi'
- *          i888888N'      I888Y          ]88;/EX*IFKFK88X  K8R  .l8W  88Y  ~88}'88E&%8W.X8N``]88!.$8K  .:W8I
- *        .i888888N;        I8Y          .&8$  .X88!  i881.:%888>I88  ;88]  +88+.';;;;:.Y88X  18N.,88l  .+88/
- *      .:R888888I
- *      .&888888I                                          Copyright (c) 2009-2020.  博锐尚格科技股份有限公司
- *        ~8888'
- *        .!88~                                                                     All rights reserved.
- *
- * *********************************************************************************************************************
- */
-
-import { SAnchorItem } from "@persagy-web/graph/";
-import { SPoint, SSize } from "@persagy-web/draw";
-import { SGraphItem } from "@persagy-web/graph/";
-
-/**
- * 对象item
- *
- * @author  郝建龙(1061851420@qq.com)
- */
-export class SObjectItemEdit extends SGraphItem {
-    /** 锚点list  */
-    anchorList: SAnchorItem[] = [];
-    /** 宽度  */
-    private _width: number = 64;
-    get width(): number {
-        return this._width;
-    }
-    set width(v: number) {
-        if (v > 0) {
-            if (v != this._width) {
-                let w = this._width;
-                this._width = v;
-                this.onResize(
-                    new SSize(w, this._height),
-                    new SSize(this._width, this._height)
-                );
-            }
-        }
-    }
-
-    /** 高度  */
-    private _height: number = 64;
-    get height(): number {
-        return this._height;
-    }
-    set height(v: number) {
-        if (v > 0) {
-            if (v != this._height) {
-                let h = this._height;
-                this._height = v;
-                this.onResize(
-                    new SSize(this._width, h),
-                    new SSize(this._width, this._height)
-                );
-            }
-        }
-    }
-
-    /** 原点  */
-    origin = new SPoint();
-
-    /**
-     * 宽高发发生变化
-     *
-     * @param   oldSize 改之前的大小
-     * @param   newSize 改之后大小
-     * */
-    protected onResize(oldSize: SSize, newSize: SSize) { } // Function onResize()
-    constructor(parent: SGraphItem | null,) {
-        super(parent);
-    }
-} // Class SObjectItem

+ 1 - 2
src/components/editClass/edit/index.ts

@@ -31,7 +31,6 @@ import { SLineEdit } from "./items/SLineEdit";
 import { SPolygonEdit } from "./items/SPolygonEdit";
 import { SPolylineEdit } from "./items/SPolylineEdit";
 import { STextEdit } from "./items/STextEdit";
-import { SObjectItemEdit } from "./SObjectItemEdit";
 
 import { SGraphCommand } from "./commands/SGraphCommand";
 import { SGraphAddCommand } from "./commands/SGraphAddCommand";
@@ -40,4 +39,4 @@ import { SGraphPointListDelete } from "./commands/SGraphPointListDelete";
 import { SGraphPointListInsert } from "./commands/SGraphPointListInsert";
 import { SGraphPointListUpdate } from "./commands/SGraphPointListUpdate";
 import { SGraphPropertyCommand } from "./commands/SGraphPropertyCommand";
-export { SObjectItemEdit,SGraphEditScene, SGraphEdit, SImageEdit, SLineEdit, SPolygonEdit, SPolylineEdit, STextEdit, SGraphCommand, SGraphAddCommand, SGraphMoveCommand, SGraphPointListDelete, SGraphPointListInsert, SGraphPointListUpdate, SGraphPropertyCommand }
+export { SGraphEditScene, SGraphEdit, SImageEdit, SLineEdit, SPolygonEdit, SPolylineEdit, STextEdit, SGraphCommand, SGraphAddCommand, SGraphMoveCommand, SGraphPointListDelete, SGraphPointListInsert, SGraphPointListUpdate, SGraphPropertyCommand }

+ 1 - 1
src/components/editview/leftToolBar.vue

@@ -53,7 +53,7 @@ const leftData = [
     id: "equipList",
     name: "设备组",
     icon: require("./../../assets/images/leftImgs/equipList.png"),
-    activeIcon: require("./../../assets/images/leftImgs/equipListactive.png"),
+    activeIcon: require("./../../assets/images/leftImgs/equipListActive.png"),
   },
   {
     id: "guanxian",

+ 3 - 9
src/components/editview/rightPropertyBar.vue

@@ -1,11 +1,8 @@
 <!--右侧属性栏-->
 <template>
   <div class="right-property-bar">
-    <el-tabs v-model="activeName" @tab-click="handleClick">
-      <el-tab-pane label="属性" name="property">
-        <property></property>
-      </el-tab-pane>
-    </el-tabs>
+     <property></property>
+
   </div>
 </template>
 <script>
@@ -16,12 +13,9 @@ export default {
   },
   data() {
     return {
-      activeName: "property",
+
     };
   },
-  handleClick(tab, event) {
-    console.log(tab, event);
-  },
 };
 </script>
 <style lang="less" scoped>

+ 122 - 21
src/components/editview/rightPropertyBar/baseTextPro.vue

@@ -1,38 +1,78 @@
 <!-- 基本的文本属性框 -->
 <template>
   <div class="base-text">
-    基本文本框
-    <!-- <ul>
+    <div class="title">属性</div>
+    <ul>
       <li>
-        <span>字号:</span>
-        <el-input-number size="small" v-model="size" @change="updateSize" :min="1" :max="50"></el-input-number>
+        <div class="small-title">边框</div>
+        <div class="property">
+          <div class="color-box">
+            <div class="cololorSelect"></div>
+            <span>颜色</span>
+          </div>
+          <div class="line-width">
+            <el-input-number
+              style="width:80px"
+              v-model="num"
+              controls-position="right"
+              @change="handleChange"
+              size="mini"
+              :min="1"
+              :max="20"
+              :maxlength="100"
+            ></el-input-number>
+            <span>线宽</span>
+          </div>
+          <div class="line-width">
+            <a-select
+              style="width: 80px"
+              v-model="borderStyle"
+              :default-value="borderLineOption[0].id"
+              @change="changeBorder"
+            >
+              <a-select-option
+                v-for="item in borderLineOption"
+                :key="item.id"
+                :label="item.src"
+                :value="item.id"
+              >
+                <img :src="item.src" alt width="80" />
+              </a-select-option>
+            </a-select>
+            <span>线型</span>
+          </div>
+        </div>
       </li>
-      <li>
-        <span>文本框:</span>
-        <el-input
-          v-model="text"
-          @change="handleChangeText"
-          type="textarea"
-          :autosize="{ minRows: 1, maxRows: 1}"
-          placeholder="请输入内容"
-          style="width:200px;"
-        ></el-input>
-      </li>
-      <li>
-        <span>线颜色:</span>
-        <el-color-picker v-model="color" @change="changeColor" show-alpha></el-color-picker>
-      </li>
-    </ul>-->
+    </ul>
   </div>
 </template>
 <script>
 import bus from "@/bus/bus";
+// import { Select } from 'ant-design-vue';
 export default {
+  // components:{Select},
   data() {
     return {
       size: 12, //font-size
       text: "", //文本
       color: "#cccccc", //颜色
+      activeName: "",
+      num: 1,
+      borderLineOption: [
+        {
+          id: "solid",
+          src: require("@/assets/images/solidLine.png"),
+        },
+        {
+          id: "dashed",
+          src: require("@/assets/images/dashedLine.png"),
+        },
+        {
+          id: "dotted",
+          src: require("@/assets/images/dotLine.png"),
+        },
+      ],
+      borderStyle: "solid",
     };
   },
   methods: {
@@ -42,12 +82,73 @@ export default {
     },
     // 输入文本
     handleChangeText() {},
+    handleChange() {},
     // 改变文字颜色
     changeColor() {},
+    handleClick(tab, event) {
+      console.log(tab, event);
+    },
+    changeBorder() {},
+  },
+  mounted() {
+    // console.log(Select)
   },
 };
 </script>
-<style lang="less">
+<style lang="less" scoped>
+ul,
+li {
+  margin: 0;
+  padding: 0;
+  list-style-type: none;
+}
 .base-text {
+  .title {
+    height: 47px;
+    border-bottom: 1px solid #979797;
+    color: #646c73;
+    font-size: 16px;
+    padding-left: 12px;
+    box-sizing: border-box;
+  }
+  ul {
+    width: calc(~"100% - 24px");
+    margin: -1px 12px 0 12px;
+    li {
+      border-top: 1px solid #979797;
+      .small-title {
+        font-size: 12px;
+        color: #8d9399;
+        margin: 12px 0;
+      }
+      .property {
+        display: flex;
+        align-items: center;
+        justify-content: space-around;
+        .color-box {
+          display: flex;
+          align-items: center;
+          flex-direction: column;
+          .cololorSelect {
+            width: 32px;
+            height: 20px;
+            background: #0091ff;
+          }
+        }
+        .line-width {
+          display: flex;
+          align-items: center;
+          flex-direction: column;
+          margin-left: 8px;
+          position: relative;
+        }
+        span {
+          font-size: 12px;
+          color: #1f2429;
+          margin-top: 4px;
+        }
+      }
+    }
+  }
 }
 </style>

+ 2 - 0
src/main.ts

@@ -9,6 +9,8 @@ Vue.use(ElementUI);
 import { Input } from 'meri-design';
 // 按需引入公共组件
 Vue.use(Input)
+import { Select } from 'ant-design-vue';
+Vue.use(Select)
 Vue.config.productionTip = false;
 new Vue({
   router,

+ 2 - 1
src/router/index.ts

@@ -3,7 +3,7 @@ import VueRouter, { RouteConfig } from 'vue-router'
 const Editer = () => import('../views/editer.vue')
 Vue.use(VueRouter)
 
-  const routes: Array<RouteConfig> = [
+const routes: Array<RouteConfig> = [
   {
     path: '/editer',
     name: 'Editer',
@@ -18,6 +18,7 @@ Vue.use(VueRouter)
 
 const router = new VueRouter({
   mode: 'history',
+  base: "persagyTopo",
   routes
 })
 

+ 5 - 0
vue.config.js

@@ -7,4 +7,9 @@ module.exports = {
         },
     },
     lintOnSave: false,
+    publicPath: '/persagyTopo',
+    // 打包名称
+    outputDir: 'persagyTopo',
+    // 放置生成的静态资源 (js、css、img、fonts) 的 (相对于 outputDir 的) 目录
+    assetsDir: 'static',
 }