src/layout/components/Navbar.vue
@@ -82,6 +82,7 @@ </el-dropdown> </div> <el-dialog v-el-drag-dialog title="修改密码" :visible.sync="dialogVisible" width="500px" @@ -117,6 +118,8 @@ </template> <script> import elDragDialog from '@/directive/el-drag-dialog' const SER_HZ = /^[\u4e00-\u9fa5]+$/ import { mapGetters } from 'vuex' import MenuItemEx from './Sidebar/MenuItemEx' @@ -136,6 +139,7 @@ Search, Screenfull }, directives: { elDragDialog }, data() { const validatePassword1 = (rule, value, callback) => { if (!value) {