Skip to content

Commit

Permalink
Merge pull request #63 from suyuan32/dev
Browse files Browse the repository at this point in the history
Dev
  • Loading branch information
suyuan32 committed Jun 16, 2023
2 parents d4d77e0 + 9bf5991 commit 0062cf4
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 8 deletions.
2 changes: 1 addition & 1 deletion src/locales/lang/en/common.ts
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ export default {
delete: 'Delete',
// notification
deleteConfirm: 'Confirm the deletion?',
operateSucess: 'Successful operation',
operateSuccess: 'Successful operation',
operateFailed: 'The operation failed',
updateSuccess: 'Update successfully',
updateFailed: 'Update failed',
Expand Down
2 changes: 1 addition & 1 deletion src/locales/lang/zh-CN/common.ts
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ export default {
delete: '删除',
// notification
deleteConfirm: '是否确认删除?',
operateSucess: '操作成功',
operateSuccess: '操作成功',
operateFailed: '操作失败',
updateSuccess: '更新成功',
updateFailed: '更新失败',
Expand Down
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.7'],
['sys.sys.version', 'V 1.0.9'],
];
6 changes: 1 addition & 5 deletions src/views/sys/user/UserDrawer.vue
Original file line number Diff line number Diff line change
Expand Up @@ -55,11 +55,7 @@
async function handleSubmit() {
const values = await validate();
setDrawerProps({ confirmLoading: true });
if (unref(isUpdate)) {
if (values['password'] === undefined) {
values['password'] = '';
}
} else {
if (!unref(isUpdate)) {
if (values['password'] === undefined) {
createMessage.warning(t('sys.login.passwordPlaceholder'));
setDrawerProps({ confirmLoading: false });
Expand Down

0 comments on commit 0062cf4

Please sign in to comment.