fix: 🐛 修复填写支付宝微信支付秘钥被截断问题

master
Yer 2023-09-05 11:28:23 +08:00
parent 2bcefc1306
commit 79c1e2c5bb
2 changed files with 13 additions and 13 deletions

View File

@ -2,19 +2,19 @@
<div class="layout"> <div class="layout">
<Form ref="formValidate" :label-width="160" label-position="right" :model="formValidate" :rules="ruleValidate"> <Form ref="formValidate" :label-width="160" label-position="right" :model="formValidate" :rules="ruleValidate">
<FormItem label="appId" prop="appId"> <FormItem label="appId" prop="appId">
<Input class="w200" v-model="formValidate.appId" /> <Input maxlength="300" class="w200" v-model="formValidate.appId" />
</FormItem> </FormItem>
<FormItem label="certPath" prop="certPath"> <FormItem label="certPath" prop="certPath">
<Input v-model="formValidate.certPath" /> <Input maxlength="300" v-model="formValidate.certPath" />
</FormItem> </FormItem>
<FormItem label="alipayPublicCertPath" prop="alipayPublicCertPath"> <FormItem label="alipayPublicCertPath" prop="alipayPublicCertPath">
<Input v-model="formValidate.alipayPublicCertPath" /> <Input maxlength="300" v-model="formValidate.alipayPublicCertPath" />
</FormItem> </FormItem>
<FormItem label="privateKey" class="label-item" prop="privateKey"> <FormItem label="privateKey" class="label-item" prop="privateKey">
<Input v-model="formValidate.privateKey" /> <Input maxlength="300" v-model="formValidate.privateKey" />
</FormItem> </FormItem>
<FormItem label="rootCertPath" prop="rootCertPath"> <FormItem label="rootCertPath" prop="rootCertPath">
<Input v-model="formValidate.rootCertPath" /> <Input maxlength="300" v-model="formValidate.rootCertPath" />
</FormItem> </FormItem>
<div class="label-btns"> <div class="label-btns">

View File

@ -8,11 +8,11 @@
:rules="ruleValidate" :rules="ruleValidate"
> >
<FormItem label="appId" prop="appId"> <FormItem label="appId" prop="appId">
<Input class="w200" v-model="formValidate.appId" /> <Input maxlength="300" class="w200" v-model="formValidate.appId" />
<p style="color: red">*APP应用 AppID 非必填</p> <p style="color: red">*APP应用 AppID 非必填</p>
</FormItem> </FormItem>
<FormItem label="mpAppId" prop="mpAppId"> <FormItem label="mpAppId" prop="mpAppId">
<Input class="w200" v-model="formValidate.mpAppId" /> <Input maxlength="300" class="w200" v-model="formValidate.mpAppId" />
<p style="color: red">*小程序 AppID 非必填</p> <p style="color: red">*小程序 AppID 非必填</p>
</FormItem> </FormItem>
<FormItem label="serviceAppId" prop="serviceAppId"> <FormItem label="serviceAppId" prop="serviceAppId">
@ -20,23 +20,23 @@
<p style="color: red">*服务号 AppID 非必填</p> <p style="color: red">*服务号 AppID 非必填</p>
</FormItem> </FormItem>
<FormItem label="mchId" prop="mchId"> <FormItem label="mchId" prop="mchId">
<Input class="w200" v-model="formValidate.mchId" /> <Input maxlength="300" class="w200" v-model="formValidate.mchId" />
</FormItem> </FormItem>
<FormItem label="apiKey3" prop="apiKey3"> <FormItem label="apiKey3" prop="apiKey3">
<Input v-model="formValidate.apiKey3" /> <Input maxlength="300" v-model="formValidate.apiKey3" />
</FormItem> </FormItem>
<FormItem label="apiclient_cert_p12" class="label-item" prop="apiclient_cert_p12"> <FormItem label="apiclient_cert_p12" class="label-item" prop="apiclient_cert_p12">
<Input v-model="formValidate.apiclient_cert_p12" /> <Input maxlength="300" v-model="formValidate.apiclient_cert_p12" />
</FormItem> </FormItem>
<FormItem label="apiclient_cert_pem" prop="apiclient_cert_pem"> <FormItem label="apiclient_cert_pem" prop="apiclient_cert_pem">
<Input v-model="formValidate.apiclient_cert_pem" /> <Input maxlength="300" v-model="formValidate.apiclient_cert_pem" />
</FormItem> </FormItem>
<FormItem label="apiclient_key" prop="apiclient_key"> <FormItem label="apiclient_key" prop="apiclient_key">
<Input v-model="formValidate.apiclient_key" /> <Input maxlength="300" v-model="formValidate.apiclient_key" />
</FormItem> </FormItem>
<FormItem label="serialNumber" prop="serialNumber"> <FormItem label="serialNumber" prop="serialNumber">
<Input v-model="formValidate.serialNumber" /> <Input maxlength="300" v-model="formValidate.serialNumber" />
</FormItem> </FormItem>
<div class="label-btns"> <div class="label-btns">
<Button type="primary" @click="submit('formValidate')"></Button> <Button type="primary" @click="submit('formValidate')"></Button>