diff --git a/src/assets/api.js b/src/assets/api.js index 74e25203..e3c357cf 100644 --- a/src/assets/api.js +++ b/src/assets/api.js @@ -394,6 +394,10 @@ export const delMenu = (id) => { return req('delete', baseurl + "/auth/menu/"+id) } +//添加定制化模板 +export const postThemecustom= (data) => { + return upload('post', baseurl + "/plan/theme/custom",data) +} //获取落地页下拉菜单 diff --git a/src/pages/distributor/adddistributorinfo/adddistributorinfo.js b/src/pages/distributor/adddistributorinfo/adddistributorinfo.js index c1e1a36e..210fc9d6 100644 --- a/src/pages/distributor/adddistributorinfo/adddistributorinfo.js +++ b/src/pages/distributor/adddistributorinfo/adddistributorinfo.js @@ -20,7 +20,7 @@ export default class adduserinfo extends React.Component{ uploadimgFile:'',//分销商头像files email_nums:1, disabled:false, - defaultFileList:[],//默认回显头像 + defaultFileList:[{src:'',}],//默认回显头像 model:{ //数据模型不可少 name:'', account:'', diff --git a/src/pages/exchangecode/add/add.js b/src/pages/exchangecode/add/add.js index d937427c..9f89e6ef 100644 --- a/src/pages/exchangecode/add/add.js +++ b/src/pages/exchangecode/add/add.js @@ -543,7 +543,7 @@ export default class acclist extends React.Component{ return( -