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