fix(仪表板): 修复部分模版创建可能出错问题
This commit is contained in:
parent
c0c783e721
commit
a6ed1ea728
@ -27,6 +27,7 @@ import { queryPanelJumpInfo, queryTargetPanelJumpInfo } from '@/api/panel/linkJu
|
|||||||
import { getNowCanvasComponentData, panelInit } from '@/components/canvas/utils/utils'
|
import { getNowCanvasComponentData, panelInit } from '@/components/canvas/utils/utils'
|
||||||
import { getOuterParamsInfo } from '@/api/panel/outerParams'
|
import { getOuterParamsInfo } from '@/api/panel/outerParams'
|
||||||
import { mapState } from 'vuex'
|
import { mapState } from 'vuex'
|
||||||
|
import {Base64} from "js-base64";
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
name: 'LinkView',
|
name: 'LinkView',
|
||||||
@ -140,7 +141,7 @@ export default {
|
|||||||
let attachParam = null
|
let attachParam = null
|
||||||
if (attachParamsEncode) {
|
if (attachParamsEncode) {
|
||||||
const Base64 = require('js-base64').Base64
|
const Base64 = require('js-base64').Base64
|
||||||
attachParam = JSON.parse(decodeURIComponent(Base64.decode(attachParamsEncode)))
|
attachParam = JSON.parse(Base64.decode(decodeURIComponent(attachParamsEncode)))
|
||||||
}
|
}
|
||||||
if (hasArgs) {
|
if (hasArgs) {
|
||||||
attachParam = Object.assign({}, attachParam, argsObject)
|
attachParam = Object.assign({}, attachParam, argsObject)
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user