Merge pull request #10653 from dataease/pr@dev-v2@perf_panel_out_params

perf(仪表板): 外部参数解析错误
This commit is contained in:
fit2cloud-chenyw 2024-07-01 15:22:34 +08:00 committed by GitHub
commit 0522e7807a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

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 (!!attachParamsEncode) {
attachParam = JSON.parse(Base64.decode(decodeURIComponent(attachParamsEncode)))
}
if (hasTicketArgs) {