fix(仪表板): 修复外部参数失效问题

This commit is contained in:
wangjiahao 2024-06-28 10:37:50 +08:00
parent f3600e4b57
commit 4edfa3cac0

View File

@ -76,7 +76,7 @@ const loadCanvasDataAsync = async (dvId, dvType) => {
const attachParamsEncode = router.currentRoute.value.query.attachParams
if (attachParamsEncode || hasTicketArgs) {
try {
if (attachParam) {
if (!attachParam) {
attachParam = JSON.parse(Base64.decode(decodeURIComponent(attachParamsEncode)))
}
if (hasTicketArgs) {