Browse Source

密钥,公钥改为textarea

liu_lake 5 months ago
parent
commit
7aae89f3d6

+ 4 - 5
admin-ui/src/views/platform/modules/edit.vue

@@ -131,25 +131,24 @@ defineExpose({ open });
             v-model="pageData.formData.serviceId"
             clearable
             placeholder="请输入名称"
-            size="small"
+
             :readonly="isDetail"
           />
         </el-form-item>
         <el-form-item label="密钥" prop="password">
           <el-input
             v-model="pageData.formData.privateKey"
-            clearable
+            clearable type="textarea"
             placeholder="请输入密钥"
-            size="small"
             :readonly="isDetail"
           />
         </el-form-item>
         <el-form-item label="公钥" prop="password">
-          <el-input
+          <el-input type="textarea"
             v-model="pageData.formData.publicKey"
             clearable
             placeholder="请输入公钥"
-            size="small"
+
             :readonly="isDetail"
           />
         </el-form-item>

+ 9 - 11
agent-ui/src/views/channel/modules/edit.vue

@@ -160,7 +160,7 @@ defineExpose({open});
             v-model="pageData.formData.name"
             clearable
             placeholder="请输入名称"
-            size="small"
+
             :readonly="isDetail"
           />
         </el-form-item>
@@ -169,7 +169,7 @@ defineExpose({open});
             v-model="pageData.formData.code"
             clearable
             placeholder="请输入编码"
-            size="small"
+
             :readonly="isDetail"
           />
         </el-form-item>
@@ -192,25 +192,23 @@ defineExpose({open});
             v-model="pageData.formData.appId"
             clearable
             placeholder="请输入appId"
-            size="small"
+
             :readonly="isDetail"
           />
         </el-form-item>
         <el-form-item label="密钥" prop="password">
-          <el-input
+          <el-input type="textarea"
             v-model="pageData.formData.privateKey"
             clearable
             placeholder="请输入密钥"
-            size="small"
             :readonly="isDetail"
           />
         </el-form-item>
         <el-form-item label="公钥" prop="password">
-          <el-input
+          <el-input type="textarea"
             v-model="pageData.formData.publicKey"
             clearable
             placeholder="请输入公钥"
-            size="small"
             :readonly="isDetail"
           />
         </el-form-item>
@@ -219,7 +217,7 @@ defineExpose({open});
             v-model="pageData.formData.sellerId"
             clearable
             placeholder="请输入商户号"
-            size="small"
+
             :readonly="isDetail"
           />
         </el-form-item>
@@ -228,7 +226,7 @@ defineExpose({open});
             v-model="pageData.formData.dayMaxPayAmount"
             clearable
             placeholder="请输入每日限额"
-            size="small"
+
             :readonly="isDetail"
           />
         </el-form-item>
@@ -237,7 +235,7 @@ defineExpose({open});
             v-model="pageData.formData.onePayMaxAmount"
             clearable
             placeholder="请输入单笔限额"
-            size="small"
+
             :readonly="isDetail"
           />
         </el-form-item>
@@ -246,7 +244,7 @@ defineExpose({open});
             v-model="pageData.formData.rate"
             clearable
             placeholder="请输入统一费率"
-            size="small"
+
             :readonly="isDetail"
           />‰
         </el-form-item>