瀏覽代碼

有姓名和身份证时禁止输入

xuqiaoying 3 年之前
父節點
當前提交
e5d2544000
共有 2 個文件被更改,包括 4 次插入4 次删除
  1. 2 2
      common/request.js
  2. 2 2
      pages2/verify/input.vue

+ 2 - 2
common/request.js

@@ -8,9 +8,9 @@ var num = 1
 // export const BASE_URL = 'https://test.xyyxt.net'   //预发布
 // export const BASE_URL = 'http://120.79.166.78:19012' // 测试环境
 // export const BASE_URL = 'http://42.192.164.187:19005'    //test(后端本地)
-// export const BASE_URL = 'http://192.168.1.222:5055'    //后端本地更新到222
+export const BASE_URL = 'http://192.168.1.222:5055'    //后端本地更新到222
 // export const BASE_URL = 'http://192.168.1.24:5055'    //后端本地
-export const BASE_URL = 'http://192.168.1.7:5055'    //后端本地
+// export const BASE_URL = 'http://192.168.1.7:5055'    //后端本地
 
  //图片上传api
 // export const BASE_IMG_URL = 'https://file.xyyxt.net/'     //release

+ 2 - 2
pages2/verify/input.vue

@@ -32,7 +32,7 @@
               :label="item.fieldName"
               :required="item.required"
               :label-width="auto"
-              :disabled="true"
+              :disabled="form.name ? true : false"
               :prop="item.required ? item.fieldKey : ''"
             >
               <u-input
@@ -47,7 +47,7 @@
               :label="item.fieldName"
               :required="item.required"
               :label-width="auto"
-              :disabled="true"
+              :disabled="form.idcard ? true : false"
               :prop="item.required ? item.fieldKey : ''"
             >
               <u-input