Commit 7f115337 by zhangxw

bug修复

1 parent a41d4105
......@@ -93,7 +93,6 @@ Page({
} catch (e) {
query = {}
}
console.log(query, '=========')
const { timeDimension, startDate, endDate } = query || {}
this.setData({
detailInfo: query,
......@@ -186,12 +185,12 @@ Page({
}).then(res => {
let { code, data, message } = res
if (code == 0) {
data.business = this.filterBusiness(data.business)
this.setData({
baseInfo: {
...data,
name: data?.name || options?.employeeName,
phone: data?.phone || options?.employeePhone
name: options?.employeeName,
phone: options?.employeePhone,
business: this.filterBusiness(options?.business)
}
})
} else {
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!