Browse Source

更新跳转authtoken

dufeng 1 year ago
parent
commit
0a25302fc0
4 changed files with 13 additions and 4 deletions
  1. 5 0
      .gitignore
  2. 6 2
      manifest.json
  3. 1 1
      pages/workflowTask/webviewPages/webview.js
  4. 1 1
      unpackage/dist/build/h5/index.html

+ 5 - 0
.gitignore

@@ -0,0 +1,5 @@
+/node_modules
+debug.log
+/unpackage
+.DS_Store
+yarn.lock

+ 6 - 2
manifest.json

@@ -80,6 +80,10 @@
     "uniStatistics" : {
         "enable" : false
     },
-	"vueVersion" : "2",
-    "h5" : {}
+    "vueVersion" : "2",
+    "h5" : {
+        "router" : {
+            "base" : "/workflow-h5/"
+        }
+    }
 }

+ 1 - 1
pages/workflowTask/webviewPages/webview.js

@@ -1,7 +1,7 @@
 export default {
 	data() {
 		return {
-			webviewServer: 'http://192.168.31.119:9529/workflow/',
+			webviewServer: 'http://tq.5000v.com:8025/workflow/',
 			// webviewServer: 'http://localhost:9529',
 			authtoken: uni.getStorageSync('authtoken')
 		};

+ 1 - 1
unpackage/dist/build/h5/index.html

@@ -1,2 +1,2 @@
 <!DOCTYPE html><html lang=zh-CN><head><meta charset=utf-8><meta http-equiv=X-UA-Compatible content="IE=edge"><title>diboot-mobile-ui</title><script>var coverSupport = 'CSS' in window && typeof CSS.supports === 'function' && (CSS.supports('top: env(a)') || CSS.supports('top: constant(a)'))
-            document.write('<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0' + (coverSupport ? ', viewport-fit=cover' : '') + '" />')</script><link rel=stylesheet href=/workflow-h5/static/index.2da1efab.css></head><body><noscript><strong>Please enable JavaScript to continue.</strong></noscript><div id=app></div><script src=/workflow-h5/static/js/chunk-vendors.990d7a44.js></script><script src=/workflow-h5/static/js/index.dedc9069.js></script></body></html>
+            document.write('<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0' + (coverSupport ? ', viewport-fit=cover' : '') + '" />')</script><link rel=stylesheet href=/workflow-h5/static/index.2da1efab.css></head><body><noscript><strong>Please enable JavaScript to continue.</strong></noscript><div id=app></div><script src=/workflow-h5/static/js/chunk-vendors.990d7a44.js></script><script src=/workflow-h5/static/js/index.694aafe8.js></script></body></html>