Commit 1f2fd995 by 张立顺

fix bug修复

1 parent ffcfc00d
......@@ -18,7 +18,7 @@ export const appId = "wx570d9331f9ace0bd";
* 4预发布
* 5cdptest
*/
let index = 3;
let index = 2;
const accountInfo = wx.getAccountInfoSync();
const systemInfo = wx.getSystemInfoSync();
const envName = accountInfo.miniProgram.envVersion;
......
......@@ -34,7 +34,7 @@ const pageUrl = {
0: 'packageEquity.equityPage',
1: 'tabIndex.index',
3: 'packageCrowdFunding.crowdFundingPage',
2: 'subvehicleConversion.conversionPage'
2: 'subvehicleConversion.conversionPage',
}
export default {
......
......@@ -72,7 +72,7 @@ Component({
this.materialListApi(params).then(res => {
if (res && res.data) {
res.data.forEach(el => {
if (el.createdDate) el.createdDate = new Date(el.createdDate).format('yyyy-MM-dd')
if (el.createdDate) el.createdDate = new Date(el.createdDate).format('yyyy/MM/dd')
})
}
list = res.data
......@@ -122,7 +122,7 @@ Component({
})
}
},
onHide(){
onHide() {
clearInterval(this.intaval)
}
......
......@@ -258,12 +258,12 @@ export const checkScene = options => {
// &&options.patch == 'tabIndex/pages/index/index'
// 需要当前门店的 不是就重新登录
if (userInfo?.subLoginUser?.merchantId != query.merchantId) {
wx.$SCENE = null
// return this.login(true)
// return true // 重新登录
return '当前登录园区不一致,请重新登录。'
}
// if (userInfo?.subLoginUser?.merchantId != query.merchantId) {
// wx.$SCENE = null
// // return this.login(true)
// // return true // 重新登录
// return '当前登录园区不一致,请重新登录。'
// }
}
console.log(options.path, 'options.path')
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!