Ver Fonte

:bug: Fixing a bug.#449 【工作流】 画完模型图 点击右上角返回列表404

冷冷 há 6 anos atrás
pai
commit
283c6bbcb3
4 ficheiros alterados com 45 adições e 42 exclusões
  1. 0 2
      package.json
  2. 44 35
      public/index.html
  3. 1 1
      src/views/activiti/detail.vue
  4. 0 4
      src/views/activiti/index.vue

+ 0 - 2
package.json

@@ -33,8 +33,6 @@
     "vuex": "^3.0.1"
   },
   "devDependencies": {
-    "@vue/cli-plugin-babel": "~3.8.0",
-    "@vue/cli-plugin-eslint": "~3.8.0",
     "@vue/cli-service": "~3.8.4",
     "chai": "^4.1.2",
     "node-sass": "^4.9.0",

+ 44 - 35
public/index.html

@@ -2,45 +2,54 @@
 <html>
 
 <head>
-    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
-    <meta http-equiv="X-UA-Compatible" content="IE=edge">
-    <meta name="viewport" content="width=device-width,initial-scale=1.0,maximum-scale=1.0,user-scalable=0">
-    <meta name="apple-mobile-web-app-capable" content="yes">
-    <meta name="apple-mobile-web-app-status-bar-style" content="black">
-    <meta name="format-detection" content="telephone=no">
-    <meta http-equiv="X-UA-Compatible" content="chrome=1" />
-    <link rel="stylesheet" href="<%= BASE_URL %>cdn/animate/3.5.2/animate.css">
-    <link rel="stylesheet" href="<%= BASE_URL %>cdn/iconfont/1.0.0/index.css">
-    <link rel="stylesheet" href="<%= BASE_URL %>cdn/avue/avue.css">
-    <link rel="stylesheet" href="<%= BASE_URL %>cdn/avue/index.css">
-    <link rel="icon" href="<%= BASE_URL %>favicon.ico">
-    <title>PigX微服务快速开发框架</title>
+  <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
+  <meta http-equiv="X-UA-Compatible" content="IE=edge">
+  <meta name="viewport" content="width=device-width,initial-scale=1.0,maximum-scale=1.0,user-scalable=0">
+  <meta name="apple-mobile-web-app-capable" content="yes">
+  <meta name="apple-mobile-web-app-status-bar-style" content="black">
+  <meta name="format-detection" content="telephone=no">
+  <meta http-equiv="X-UA-Compatible" content="chrome=1"/>
+  <link rel="stylesheet" href="<%= BASE_URL %>cdn/animate/3.5.2/animate.css">
+  <link rel="stylesheet" href="<%= BASE_URL %>cdn/iconfont/1.0.0/index.css">
+  <link rel="stylesheet" href="<%= BASE_URL %>cdn/avue/avue.css">
+  <link rel="stylesheet" href="<%= BASE_URL %>cdn/avue/index.css">
+  <link rel="icon" href="<%= BASE_URL %>favicon.ico">
+  <title>PigX微服务快速开发框架</title>
 </head>
 
 <body>
-    <noscript>
-        <strong>很抱歉,如果没有 JavaScript 支持,网站将不能正常工作。请启用浏览器的 JavaScript 然后继续。</strong>
-    </noscript>
-    <div id="app">
-        <div class="avue-home">
-            <div class="avue-home__main">
-                <img class="avue-home__loading" src="./svg/loading-spin.svg" alt="loading">
-                <div class="avue-home__title">
-                    正在加载资源
-                </div>
-                <div class="avue-home__sub-title">
-                    初次加载资源可能需要较多时间 请耐心等待
-                </div>
-            </div>
-            <div class="avue-home__footer">
-                <a href="https://pig4cloud.com/zh-cn" target="_blank">
-                    Copyright © 2019 pig4cloud.com</a>
-            </div>
-        </div>
+<noscript>
+  <strong>很抱歉,如果没有 JavaScript 支持,网站将不能正常工作。请启用浏览器的 JavaScript 然后继续。</strong>
+</noscript>
+<div id="app">
+  <div class="avue-home">
+    <div class="avue-home__main">
+      <img class="avue-home__loading" src="./svg/loading-spin.svg" alt="loading">
+      <div class="avue-home__title">
+        正在加载资源
+      </div>
+      <div class="avue-home__sub-title">
+        初次加载资源可能需要较多时间 请耐心等待
+      </div>
     </div>
-    <!-- built files will be auto injected -->
-    <script src="<%= BASE_URL %>cdn/axios/1.0.0/axios.min.js" charset="utf-8"></script>
-    <script src="<%= BASE_URL %>cdn/avue/index.js" charset="utf-8"></script>
+    <div class="avue-home__footer">
+      <a href="https://pig4cloud.com/zh-cn" target="_blank">
+        Copyright © 2019 pig4cloud.com</a>
+    </div>
+  </div>
+</div>
+<!-- built files will be auto injected -->
+<script src="<%= BASE_URL %>cdn/axios/1.0.0/axios.min.js" charset="utf-8"></script>
+<script src="<%= BASE_URL %>cdn/avue/index.js" charset="utf-8"></script>
+<script>
+  var _hmt = _hmt || [];
+  (function() {
+    var hm = document.createElement('script')
+    hm.src = 'https://hm.baidu.com/hm.js?0625618efb027ed02e88da84c121652e'
+    var s = document.getElementsByTagName('script')[0]
+    s.parentNode.insertBefore(hm, s)
+  })()
+</script>
 </body>
 
 </html>

+ 1 - 1
src/views/activiti/detail.vue

@@ -39,7 +39,7 @@ export default {
   methods: {
     breaks() {
       this.$router.$avueRouter.closeTag()
-      this.$router.push({ path: '/activti/activiti' })
+      this.$router.push({ path: '/activiti/index' })
     }
   }
 }

+ 0 - 4
src/views/activiti/index.vue

@@ -177,7 +177,3 @@ export default {
   }
 }
 </script>
-
-<style lang="scss" scoped>
-</style>
-