Commit ef156d82 by 张立顺

修复bug

1 parent 2e627bbc
import WxValidate from '../../utils/WxValidate'
import WxValidate from '../../utils/wxValidate'
Page({
/**
* 页面的初始数据
......
......@@ -61,10 +61,13 @@ Page({
// let { detail } = e || null
// console.log(detail)
if (e) {
let clientModule = this.selectAllComponents('client')
let merchantModule = this.selectAllComponents('merchant')
clientModule.getClientApi()
merchantModule.init()
this.init()
let clientModule = this.selectComponent('#client')
let merchantModule = this.selectComponent('#merchant')
// console.log('clientModule', clientModule)
// console.log()
clientModule.getClientApi && clientModule.getClientApi()
merchantModule.init && merchantModule.init()
}
let { isSuper, userInfo } = this.data
// 判断是超管才需要切换账号
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!