mirror of
https://github.com/dataease/dataease.git
synced 2026-05-19 10:18:11 +08:00
refactor: 优化公共链接第三方参数
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user