Commit 09f6b1d0 authored by 李智书's avatar 李智书

1.新增h5调试

parent 2d746bd9
...@@ -31,6 +31,8 @@ Vue.prototype.$ImgUrl = 'https://xiaopay2020.oss-cn-shenzhen.aliyuncs.com/static ...@@ -31,6 +31,8 @@ Vue.prototype.$ImgUrl = 'https://xiaopay2020.oss-cn-shenzhen.aliyuncs.com/static
// import jweixin from 'jweixin-module' // import jweixin from 'jweixin-module'
// Vue.prototype.$jweixin = jweixin // Vue.prototype.$jweixin = jweixin
// console.log(jweixin); // console.log(jweixin);
import VConsole from 'vconsole';
const vConsole = new VConsole();
//加载es5>>js //加载es5>>js
function loadJs(path, callback) { function loadJs(path, callback) {
......
...@@ -4,6 +4,16 @@ ...@@ -4,6 +4,16 @@
"lockfileVersion": 1, "lockfileVersion": 1,
"requires": true, "requires": true,
"dependencies": { "dependencies": {
"copy-text-to-clipboard": {
"version": "3.0.1",
"resolved": "https://repo.huaweicloud.com/repository/npm/copy-text-to-clipboard/-/copy-text-to-clipboard-3.0.1.tgz",
"integrity": "sha512-rvVsHrpFcL4F2P8ihsoLdFHmd404+CMg71S756oRSeQgqk51U3kicGdnvfkrxva0xXH92SjGS62B0XIJsbh+9Q=="
},
"core-js": {
"version": "3.14.0",
"resolved": "https://repo.huaweicloud.com/repository/npm/core-js/-/core-js-3.14.0.tgz",
"integrity": "sha512-3s+ed8er9ahK+zJpp9ZtuVcDoFzHNiZsPbNAAE4KXgrRHbjSqqNN6xGSXq6bq7TZIbKj4NLrLb6bJ5i+vSVjHA=="
},
"dayjs": { "dayjs": {
"version": "1.10.4", "version": "1.10.4",
"resolved": "https://registry.npmjs.org/dayjs/-/dayjs-1.10.4.tgz", "resolved": "https://registry.npmjs.org/dayjs/-/dayjs-1.10.4.tgz",
...@@ -23,11 +33,26 @@ ...@@ -23,11 +33,26 @@
"resolved": "https://registry.npmjs.org/jweixin-module/-/jweixin-module-1.6.0.tgz", "resolved": "https://registry.npmjs.org/jweixin-module/-/jweixin-module-1.6.0.tgz",
"integrity": "sha512-dGk9cf+ipipHmtzYmKZs5B2toX+p4hLyllGLF6xuC8t+B05oYxd8fYoaRz0T30U2n3RUv8a4iwvjhA+OcYz52w==" "integrity": "sha512-dGk9cf+ipipHmtzYmKZs5B2toX+p4hLyllGLF6xuC8t+B05oYxd8fYoaRz0T30U2n3RUv8a4iwvjhA+OcYz52w=="
}, },
"mutation-observer": {
"version": "1.0.3",
"resolved": "https://repo.huaweicloud.com/repository/npm/mutation-observer/-/mutation-observer-1.0.3.tgz",
"integrity": "sha512-M/O/4rF2h776hV7qGMZUH3utZLO/jK7p8rnNgGkjKUw8zCGjRQPxB8z6+5l8+VjRUQ3dNYu4vjqXYLr+U8ZVNA=="
},
"tslib": { "tslib": {
"version": "2.0.3", "version": "2.0.3",
"resolved": "https://registry.npmjs.org/tslib/-/tslib-2.0.3.tgz", "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.0.3.tgz",
"integrity": "sha512-uZtkfKblCEQtZKBF6EBXVZeQNl82yqtDQdv+eck8u7tdPxjLu2/lp5/uPW+um2tpuxINHWy3GhiccY7QgEaVHQ==" "integrity": "sha512-uZtkfKblCEQtZKBF6EBXVZeQNl82yqtDQdv+eck8u7tdPxjLu2/lp5/uPW+um2tpuxINHWy3GhiccY7QgEaVHQ=="
}, },
"vconsole": {
"version": "3.7.0",
"resolved": "https://repo.huaweicloud.com/repository/npm/vconsole/-/vconsole-3.7.0.tgz",
"integrity": "sha512-wPZuQgwzgc4OFMgsXT/ZF3yzgG+CGfGvHK/38P41U4cDzgHe78kNtOhJ+V0HCS7NApo2liAg2npEqZV4q4qiCw==",
"requires": {
"copy-text-to-clipboard": "^3.0.1",
"core-js": "^3.11.0",
"mutation-observer": "^1.0.3"
}
},
"zrender": { "zrender": {
"version": "5.1.0", "version": "5.1.0",
"resolved": "https://registry.npmjs.org/zrender/-/zrender-5.1.0.tgz", "resolved": "https://registry.npmjs.org/zrender/-/zrender-5.1.0.tgz",
......
...@@ -6,7 +6,8 @@ ...@@ -6,7 +6,8 @@
"dependencies": { "dependencies": {
"dayjs": "^1.10.4", "dayjs": "^1.10.4",
"echarts": "^5.1.0", "echarts": "^5.1.0",
"jweixin-module": "^1.6.0" "jweixin-module": "^1.6.0",
"vconsole": "^3.7.0"
}, },
"devDependencies": {}, "devDependencies": {},
"scripts": { "scripts": {
......
...@@ -17,7 +17,7 @@ ...@@ -17,7 +17,7 @@
title: "请稍后......." title: "请稍后......."
}) })
uni.navigateTo({ uni.navigateTo({
url: "/pages/ClsWeekReport/ClsWeekReport", url: "/pages/ClsWeekReport/ClsWeekReport?hex=5cfced54d879e4b8ef17d3f8d87e4567",
success: function() { success: function() {
uni.hideLoading() uni.hideLoading()
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment