Archived
forked from admin/userbase
推送/操作日志下载改location.href;移动组关闭自动select;所在组改单选
deploy-userbase-front / build-and-deploy (push) Successful in 3m3s
deploy-userbase-front / build-and-deploy (push) Successful in 3m3s
This commit is contained in:
@@ -57,11 +57,11 @@
|
||||
</Col>
|
||||
</Row>
|
||||
|
||||
<!-- 第 5 行:所在组(只读)(仅编辑展示,默认选中当前组;提交时不带 groupId,不改变所在组) -->
|
||||
<!-- 第 5 行:所在组(只读)(仅编辑展示,普通单选、默认选中当前组;提交时不带 groupId,不改变所在组) -->
|
||||
<Row v-if="isEdit">
|
||||
<Col span="24">
|
||||
<FormItem label="所在组(只读):">
|
||||
<Select v-model="form.userGroupIds" multiple transfer
|
||||
<Select v-model="form.userGroupId" transfer clearable
|
||||
placeholder="默认选中当前组(提交不改变所在组)">
|
||||
<Option v-for="g in userGroups" :key="g.id" :value="g.id" :label="g.name" />
|
||||
</Select>
|
||||
@@ -144,7 +144,7 @@ const defaultForm = (): Record<string, any> => ({
|
||||
gender: 0,
|
||||
userType: [] as number[],
|
||||
appRoles: [] as number[],
|
||||
userGroupIds: [] as number[],
|
||||
userGroupId: null as number | null,
|
||||
});
|
||||
|
||||
const form = reactive(defaultForm());
|
||||
|
||||
Reference in New Issue
Block a user