zhangyu 4 лет назад
Родитель
Сommit
aac6448c27
6 измененных файлов с 10 добавлено и 10 удалено
  1. 1 1
      .gitignore
  2. 3 3
      package.json
  3. 1 1
      public/index.html
  4. 2 2
      src/components/editview/baseTopoEditer.vue
  5. 1 1
      src/router/index.ts
  6. 2 2
      vue.config.js

+ 1 - 1
.gitignore

@@ -1,7 +1,7 @@
 .DS_Store
 node_modules
 /dist
-/persagyTopo
+/persagyPlan
 package-lock.json
 
 # local env files

+ 3 - 3
package.json

@@ -1,12 +1,12 @@
 {
-  "name": "persagy_topo_editer",
+  "name": "persagy-plan-editer",
   "version": "0.1.4",
   "remote": {
     "host": "60.205.177.43",
-    "path": "/root/apps/web/persagyTopo",
+    "path": "/root/apps/web/persagyPlan",
     "user": "root",
     "password": "cGVyc2FneV8yMDIwbGFic2wlIyQ=",
-    "local": "persagyTopo"
+    "local": "persagyPlan"
   },
   "scripts": {
     "serve": "vue-cli-service serve",

+ 1 - 1
public/index.html

@@ -5,7 +5,7 @@
     <meta http-equiv="X-UA-Compatible" content="IE=edge">
     <meta name="viewport" content="width=device-width,initial-scale=1.0">
     <link rel="icon" href="<%= BASE_URL %>favicon.ico">
-    <title>博锐尚格科技股份有限公司--拓扑图编辑器</title>
+    <title>博锐尚格科技股份有限公司--平面图编辑工具</title>
   </head>
   <body>
     <noscript>

+ 2 - 2
src/components/editview/baseTopoEditer.vue

@@ -9,7 +9,7 @@
     ></topoTooltip>
     <canvas
       style="border:none;outline:medium;"
-      id="persagy_topo"
+      id="persagy_plan"
       :width="canvasWidth"
       :height="canvasHeight"
       tabindex="0"
@@ -68,7 +68,7 @@ export default {
     this.canvasWidth = this.$refs.baseTopo.offsetWidth;
     this.canvasHeight = this.$refs.baseTopo.offsetHeight - 10;
     this.scene = new PTopoScene();
-    this.view = new PTopoView("persagy_topo");
+    this.view = new PTopoView("persagy_plan");
     this.view.scene = this.scene;
     this.scene.clearCmdStatus = this.clearCmdStatus;
     // 初始化bus绑定事件

+ 1 - 1
src/router/index.ts

@@ -19,7 +19,7 @@ const routes: Array<RouteConfig> = [
 
 const router = new VueRouter({
   mode: 'history',
-  base: "persagyTopo",
+  base: "persagyPlan",
   routes
 })
 

+ 2 - 2
vue.config.js

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