refactor: 优化公共链接第三方参数

This commit is contained in:
wangjiahao
2022-03-29 11:32:59 +08:00
parent 3348742314
commit ef1affe9f1
5 changed files with 12 additions and 6 deletions

View File

@@ -69,7 +69,7 @@ export default {
if (attachParamsEncode) {
try {
const Base64 = require('js-base64').Base64
const attachParam = JSON.parse(Base64.decode(attachParamsEncode))
const attachParam = JSON.parse(decodeURIComponent(Base64.decode(attachParamsEncode)))
getOuterParamsInfo(this.resourceId).then(rsp => {
if (--loadingCount === 0) {
this.show = true

View File

@@ -259,7 +259,7 @@ export default {
this.$emit('outerParamsSetVisibleChange', false)
},
save() {
if (checkRepeat(this.outerParams.outerParamsInfoArray, 'name')) {
if (checkRepeat(this.outerParams.outerParamsInfoArray, 'paramName')) {
this.$message({
message: this.$t('panel.repeat_params'),
type: 'warn',
@@ -389,7 +389,7 @@ export default {
}
.bottom {
margin-top: 20px;
margin-top: 15px;
text-align: center;
}
@@ -482,7 +482,7 @@ export default {
}
.tree-bottom {
margin-top: 12px;
margin-top: 7px;
text-align: center;
}