From 2cb65d99c9aebf8293cb2838fcfe3e09fb2739ce Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期五, 06 十二月 2019 00:15:12 +0800 Subject: [PATCH] 2019-12-06 --- src/tabviews/commontable/index.jsx | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/src/tabviews/commontable/index.jsx b/src/tabviews/commontable/index.jsx index b14f9ab..1549350 100644 --- a/src/tabviews/commontable/index.jsx +++ b/src/tabviews/commontable/index.jsx @@ -48,8 +48,8 @@ } let result = await Api.getSystemConfig(param) if (result.status && result.LongParam) { - let config = window.decodeURIComponent(window.atob(result.LongParam)) + try { config = JSON.parse(config) this.setState({ -- Gitblit v1.8.0