From 1d816d6b06166fcbbe8bfbed1e3517680157c6ae Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BC=A0=E4=B9=90?= <419641032@qq.com> Date: Tue, 15 Sep 2020 18:24:23 +0800 Subject: [PATCH] =?UTF-8?q?bug=E4=BF=AE=E5=A4=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitignore | 24 - libs/wechat.js | 2 +- pages/index/index001.vue | 1917 ------------------------------ pages/users/order_list/index.vue | 2 +- utils/index.js | 2 +- 5 files changed, 3 insertions(+), 1944 deletions(-) delete mode 100644 .gitignore delete mode 100644 pages/index/index001.vue diff --git a/.gitignore b/.gitignore deleted file mode 100644 index 95cfff78..00000000 --- a/.gitignore +++ /dev/null @@ -1,24 +0,0 @@ -.DS_Store -node_modules -/dist - -# local env files -.env.local -.env.*.local - -# Log files -npm-debug.log* -yarn-debug.log* -yarn-error.log* - -# Editor directories and files -.idea -.vscode -*.suo -*.ntvs* -*.njsproj -*.sln -*.sw? -build.sh -.idea -unpackage \ No newline at end of file diff --git a/libs/wechat.js b/libs/wechat.js index dfa2827d..dece4cc2 100644 --- a/libs/wechat.js +++ b/libs/wechat.js @@ -159,7 +159,7 @@ class AuthWechat { auth(code) { return new Promise((resolve, reject) => { let loginType = Cache.get(LOGINTYPE); - alert(Cache.get("spread")) + console.log('spread', Cache.get("spread")) wechatAuth(code, Cache.get("spread"), loginType) .then(({ data diff --git a/pages/index/index001.vue b/pages/index/index001.vue deleted file mode 100644 index cdc0bbdb..00000000 --- a/pages/index/index001.vue +++ /dev/null @@ -1,1917 +0,0 @@ - - - - - diff --git a/pages/users/order_list/index.vue b/pages/users/order_list/index.vue index 4ef63dc6..6e7de8cf 100644 --- a/pages/users/order_list/index.vue +++ b/pages/users/order_list/index.vue @@ -5,7 +5,7 @@ 订单信息 - 消费订单:{{orderData.orderCount || 0}} 总消费:¥{{orderData.sumPrice || 0}} + 消费订单:{{orderData.orderCount || 0}} 总消费:¥{{Number(orderData.sumPrice).toFixed(2) || 0}} diff --git a/utils/index.js b/utils/index.js index 31c132ce..8a2b795a 100644 --- a/utils/index.js +++ b/utils/index.js @@ -26,7 +26,7 @@ export function silenceBindingSpread() } if(puid){ //#ifdef H5 - Cache.set('spread', 0); + Cache.clear('spread'); //#endif //#ifdef MP