Commit 023611d4 by 张立顺

去取注释

1 parent ea4aabb7
...@@ -45,7 +45,7 @@ App({ ...@@ -45,7 +45,7 @@ App({
getUpdateManager() getUpdateManager()
if (options) { if (options) {
// console.log('options', options) console.log('options', options)
let res = checkScene(options) let res = checkScene(options)
// console.log(res, 'res') // console.log(res, 'res')
// 如果需要重新登录 // 如果需要重新登录
......
...@@ -156,6 +156,7 @@ Component({ ...@@ -156,6 +156,7 @@ Component({
// if (params?.quotedPriceUpdate) { // if (params?.quotedPriceUpdate) {
// } // }
params.insureList = []
console.log(params, 'params') console.log(params, 'params')
wx.$util.showLoading() wx.$util.showLoading()
priceCounter(params) priceCounter(params)
......
...@@ -198,6 +198,7 @@ Page({ ...@@ -198,6 +198,7 @@ Page({
insurance.forEach(item => { insurance.forEach(item => {
delete orderInfo[item] delete orderInfo[item]
}) })
// delete orderInfo.quotedPriceUpdate // delete orderInfo.quotedPriceUpdate
return orderInfo return orderInfo
}, },
......
...@@ -213,6 +213,9 @@ export const checkScene = options => { ...@@ -213,6 +213,9 @@ export const checkScene = options => {
console.log(options, 'options') console.log(options, 'options')
wx.$SCENE = options wx.$SCENE = options
if (!userInfo && options.path != 'pages/accountItems/accountItems') { if (!userInfo && options.path != 'pages/accountItems/accountItems') {
// if (!userInfo) {
// console.log(userInfo);
console.log('未登录,请登录。');
return '未登录,请登录。' return '未登录,请登录。'
} }
} }
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!