diff --git a/.npmrc b/.npmrc index b32e9535..8b3afc54 100644 --- a/.npmrc +++ b/.npmrc @@ -1,4 +1,4 @@ -registry=http://192.168.1.87:4873/ +registry=http://registry.npmmirror.com email=aixianling@sinoecare.com always-auth=true package-lock=false diff --git a/package.json b/package.json index df5cf15b..1571712b 100644 --- a/package.json +++ b/package.json @@ -81,9 +81,9 @@ "jest": "^25.4.0", "mini-types": "*", "miniprogram-api-typings": "^3.3.2", - "node-sass": "npm:sass@^1.51.0", "postcss-comment": "^2.0.0", "query-string": "^7.1.1", + "sass": "^1.79.5", "uview-ui": "^1.8.4", "vconsole": "^3.12.1", "vue-template-compiler": "^2.6.11" diff --git a/src/App.vue b/src/App.vue index 47a545b4..edc699df 100644 --- a/src/App.vue +++ b/src/App.vue @@ -34,7 +34,8 @@ export default { }) }, repairWxSDK() { - wx = jWeixin + const {jWeixin} = window + window.wx = jWeixin }, initLoginBtn() { let btn = document.createElement("div") diff --git a/src/manifest.json b/src/manifest.json index 5e9463ef..6e209d98 100644 --- a/src/manifest.json +++ b/src/manifest.json @@ -25,7 +25,7 @@ }, "devServer": { "disableHostCheck": true, - "port": "80", + "port": "443", "open": true, "proxy": { "/lan": { diff --git a/src/template.h5.html b/src/template.h5.html index cb36d96c..45448a8d 100644 --- a/src/template.h5.html +++ b/src/template.h5.html @@ -2,43 +2,42 @@
- - - - -