修改默认值
This commit is contained in:
Vendored
+2
@@ -182,6 +182,8 @@ declare namespace Api {
|
||||
|
||||
/** 列表数据 */
|
||||
interface CrmListData {
|
||||
country_id: any
|
||||
channel_id: any
|
||||
data: CrmInfo[]
|
||||
current: number
|
||||
size: number
|
||||
|
||||
@@ -135,8 +135,11 @@
|
||||
try {
|
||||
// 这里调用获取品牌列表的接口
|
||||
const res = await CrmService.getcustomerdetail({ id: customerId })
|
||||
res.channel_id = res.channel_id==0 ? '' : res.channel_id
|
||||
res.country_id = res.country_id==0 ? '' : res.country_id
|
||||
customerInfo.value = res
|
||||
form.value = res
|
||||
|
||||
} catch (error) {
|
||||
console.log(error)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user