Skip to content

Commit

Permalink
🐛 Fixing a bug. close #I6JRBE 【字典管理】页面不显示两个按钮
Browse files Browse the repository at this point in the history
  • Loading branch information
lbw committed Mar 4, 2023
1 parent f2bfe14 commit 48d3eb4
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 16 deletions.
2 changes: 1 addition & 1 deletion src/api/admin/user.js
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ export function putObj(obj) {

export function isExist(params) {
return request({
url: '/admin/user/check/exsit',
url: '/admin/user/check/exist',
method: 'get',
params: params
})
Expand Down
17 changes: 4 additions & 13 deletions src/page/login/userRegister.vue
Original file line number Diff line number Diff line change
Expand Up @@ -22,16 +22,13 @@
<el-form-item prop="password">
<el-input
v-model="registerForm.password"
:type="passwordType"
size="small"
type="password"
auto-complete="off"
show-password
placeholder="请输入密码"
@keyup.enter.native="handleRegister"
>
<i
slot="suffix"
class="el-icon-view el-input__icon"
@click="showPassword"
></i>
<template #prefix>
<i class="icon-mima"></i>
</template>
Expand Down Expand Up @@ -87,8 +84,7 @@ export default {
trigger: 'blur'
}
]
},
passwordType: 'password'
}
}
},
created() {
Expand All @@ -100,11 +96,6 @@ export default {
validatePhone(rule, value, callback) {
checkPhone(rule, value, callback)
},
showPassword() {
this.passwordType === ''
? (this.passwordType = 'password')
: (this.passwordType = '')
},
handleRegister() {
this.$refs.registerForm.validate(valid => {
if (valid) {
Expand Down
2 changes: 1 addition & 1 deletion src/views/admin/dict/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
@size-change="sizeChange"
@current-change="currentChange"
@row-del="rowDel">
<template slot="menuLeft">
<template #menu-left>
<el-button
v-if="permissions.sys_dict_del"
class="filter-item"
Expand Down
2 changes: 1 addition & 1 deletion src/views/admin/param/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
@row-update="handleUpdate"
@row-save="handleSave"
@row-del="rowDel">
<template slot="menuLeft">
<template #menu-left>
<el-button
v-if="permissions.sys_publicparam_del"
class="filter-item"
Expand Down

0 comments on commit 48d3eb4

Please sign in to comment.