tangning před 3 roky
rodič
revize
9bc42bccf6

+ 2 - 1
src/view/role/index.vue

@@ -312,7 +312,8 @@ export default {
   methods: {
     editDisable(row){
       let disable = false
-      if(row.type == 0 && this.roleLevel != 1){
+      if(row.type == 0 ){
+      // if(row.type == 0 && this.roleLevel != 1){
         disable = true
       }
       return disable

+ 1 - 1
src/view/system/login.vue

@@ -16,7 +16,7 @@
       </el-form-item>
       <el-form-item class="panel-form-item">
         <p class="err-info">{{verification.psw}}</p>
-        <el-input v-model="form.psw" placeholder="密码" :type="flag?'password':'text'" @keydown.enter="submitClick">
+        <el-input v-model="form.psw" placeholder="密码" maxlength="45" :type="flag?'password':'text'" @keydown.enter="submitClick">
           <template v-slot:suffix>
               <img v-if="flag" @click="flag = !flag" style="width:20px; margin: 15px;" src="@/assets/image/pasword.png" alt="">
               <i  v-else class="icon-style el-icon-view" size="20"  @click="flag = !flag"></i>

+ 1 - 0
src/view/user/index.vue

@@ -158,6 +158,7 @@
         <el-form-item label="登录密码" class="mandatory">
           <el-input
             v-model="newData.psw"
+            maxlength="45"
             placeholder="请输入8-16位数字、英文大小写组合密码"
             :type="flag?'password':'text'"
           >

+ 2 - 2
vue.config.js

@@ -19,8 +19,8 @@ module.exports = {
     // 设置代理proxy
     proxy: {
       '/__api': {
-        target: 'http://192.168.0.135:8585/',
-        // target: 'https://testxfhd.4dkankan.com',
+        // target: 'http://192.168.0.135:8585/',
+        target: 'https://testxfhd.4dkankan.com',
         // target: 'https://testhuodiao.4dkankan.com/',
         changeOrigin: true,  
         pathRewrite: {