Skip to content

Commit

Permalink
Merge pull request #65 from suyuan32/dev
Browse files Browse the repository at this point in the history
Dev
  • Loading branch information
suyuan32 authored Jun 19, 2023
2 parents 17bc48c + f5529c5 commit 96cf4ec
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 10 deletions.
2 changes: 1 addition & 1 deletion src/views/dashboard/workbench/components/data.ts
Original file line number Diff line number Diff line change
Expand Up @@ -52,5 +52,5 @@ export const navItems: NavItem[] = [

export const systemInfoData = [
['sys.sys.Name', 'Simple Admin'],
['sys.sys.version', 'V 1.0.9'],
['sys.sys.version', 'V 1.0.10'],
];
2 changes: 1 addition & 1 deletion src/views/sys/login/LoginForm.vue
Original file line number Diff line number Diff line change
Expand Up @@ -158,8 +158,8 @@
username: data.account,
captcha: data.captcha,
captchaId: data.captchaId,
mode: 'none',
goHome: false,
mode: 'notice',
})
.then(() => {
loading.value = false;
Expand Down
8 changes: 0 additions & 8 deletions src/views/sys/user/user.data.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ import { getRoleList } from '/@/api/sys/role';
import { getDepartmentList } from '/@/api/sys/department';
import { getPositionList } from '/@/api/sys/position';
import { updateUser } from '/@/api/sys/user';
import { ParentIdEnum } from '/@/enums/appEnum';

const { t } = useI18n();

Expand Down Expand Up @@ -178,7 +177,6 @@ export const formSchema: FormSchema[] = [
field: 'password',
label: t('sys.login.password'),
component: 'Input',
rules: [{ min: 6 }],
},
{
field: 'roleIds',
Expand Down Expand Up @@ -212,12 +210,6 @@ export const formSchema: FormSchema[] = [
resultField: 'data.data',
labelField: 'trans',
valueField: 'id',
defaultValue: {
id: ParentIdEnum.DEFAULT,
parentId: -1,
label: t('sys.department.firstLevelDepartment'),
value: ParentIdEnum.DEFAULT,
},
},
},
{
Expand Down

0 comments on commit 96cf4ec

Please sign in to comment.