feat: 登录类型增加
This commit is contained in:
@@ -115,7 +115,7 @@ const oldeditSubmitFunc = editModalConfig.formAction;
|
||||
// 数据初始化
|
||||
async function init() {
|
||||
// 覆写添加确定方法
|
||||
if (JSON.parse(localStorage.getItem('userInfo') || '{}').isHeadShop == 0) {
|
||||
if (JSON.parse(localStorage.getItem('userInfo') || '{}').isHeadShop == 0 && localStorage.getItem('loginType') == '0') {
|
||||
searchConfig.formItems.splice(0, 1)
|
||||
}
|
||||
addModalConfig.formAction = function (data) {
|
||||
|
||||
Reference in New Issue
Block a user