zhanbo.xu

feat: 添加默认参数

......@@ -557,8 +557,13 @@
</el-col>
<!-- 加签方式 -->
<!-- <el-col :span="8" >
<Formitem label="加密方式" prop="guangzhouSignature" type="edit">
<el-col :span="8">
<Formitem
label="加密方式"
prop="guangzhouSignature"
type="edit"
v-show="false"
>
<el-select
type="text"
id="inputInner-edit-guangzhouSignature"
......@@ -576,7 +581,9 @@
></el-option>
</el-select>
</Formitem>
</el-col> -->
</el-col>
</el-row>
<el-row :gutter="5">
<el-col :span="16" style="padding-right: 5px" :key="refreshKey">
<div class="uploadItem">
<div class="uploadbox">
......@@ -1300,6 +1307,9 @@ export default {
handlePortConfigJson() {
this.formData.config = {};
this.choosePortCode.forEach((portCode) => {
if (portCode == "CAN") {
this.portConfig[portCode].methodOfSignature = "RSA";
}
this.formData.config[portCode] = JSON.stringify(
this.portConfig[portCode]
);
......