fix(frontend): 使用正确的submit写法
This commit is contained in:
@@ -112,16 +112,15 @@ export function userCheckDialog() {
|
||||
type: 'action',
|
||||
label: '同意',
|
||||
level: 'primary',
|
||||
actionType: 'ajax',
|
||||
api: apiGet('${base}/user_management/check/${username}'),
|
||||
actionType: 'submit',
|
||||
confirmTitle: '审核通过',
|
||||
confirmText: '确认通过账号为${username}通过审核吗?审核通过后将无法撤销。',
|
||||
reload: '9200849e-a8e9-4752-b4fc-ae52dc46a205',
|
||||
},
|
||||
],
|
||||
size: 'md',
|
||||
body: {
|
||||
type: 'form',
|
||||
api: apiGet('${base}/user_management/check/${username}'),
|
||||
initApi: apiGet('${base}/user_management/detail/${username}'),
|
||||
...horizontalFormOptions(),
|
||||
horizontal: {
|
||||
|
||||
Reference in New Issue
Block a user