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