在onUser页面上授予权限时,action的统一
This commit is contained in:
parent
28f65840b8
commit
be2fd0af0e
|
|
@ -93,5 +93,6 @@ export declare type EntityDef = {
|
|||
Remove: RemoveOperation;
|
||||
CreateSingle: CreateSingleOperation;
|
||||
CreateMulti: CreateMultipleOperation;
|
||||
Relation: Relation;
|
||||
};
|
||||
export {};
|
||||
|
|
|
|||
|
|
@ -17,7 +17,7 @@ function Render(props) {
|
|||
var strValue = e.target.value;
|
||||
update({
|
||||
name: strValue,
|
||||
});
|
||||
}, 'grant');
|
||||
}, value: name, placeholder: t('placeholder.name') }) }) })), !!oakId ? (0, jsx_runtime_1.jsx)(antd_1.Form.Item, tslib_1.__assign({ label: t('user:attr.nickname'), name: "nickname", rules: [
|
||||
{
|
||||
required: true,
|
||||
|
|
@ -30,7 +30,7 @@ function Render(props) {
|
|||
var strValue = e.target.value;
|
||||
update({
|
||||
password: strValue,
|
||||
});
|
||||
}, 'grant');
|
||||
}, placeholder: t('placeholder.password') }) }) })), (0, jsx_runtime_1.jsx)(antd_1.Form.Item, tslib_1.__assign({ label: t('auth'), rules: [
|
||||
{
|
||||
required: true,
|
||||
|
|
|
|||
|
|
@ -43,7 +43,7 @@ export default function Render(props: WebComponentProps<EntityDict, 'user', fals
|
|||
const strValue = e.target.value;
|
||||
update({
|
||||
name: strValue,
|
||||
});
|
||||
}, 'grant');
|
||||
}}
|
||||
value={name}
|
||||
placeholder={t('placeholder.name')}
|
||||
|
|
@ -82,7 +82,7 @@ export default function Render(props: WebComponentProps<EntityDict, 'user', fals
|
|||
const strValue = e.target.value;
|
||||
update({
|
||||
password: strValue,
|
||||
});
|
||||
}, 'grant');
|
||||
}}
|
||||
placeholder={t('placeholder.password')}
|
||||
/>
|
||||
|
|
|
|||
Loading…
Reference in New Issue