修复添加ck,初始化目录缺失

This commit is contained in:
whyour
2021-04-16 19:32:27 +08:00
parent 0563555a6a
commit ac5e2e404e
6 changed files with 13 additions and 10 deletions
+4 -2
View File
@@ -114,7 +114,9 @@ const Config = () => {
const match = record.value.match(/pt_pin=([^; ]+)(?=;?)/);
const val = (match && match[1]) || '未匹配用户名';
return (
<span style={{ cursor: 'text' }}>{decodeURIComponent(val)}</span>
<span style={{ cursor: 'text' }}>
{decodeURIComponent(unescape(val))}
</span>
);
},
},
@@ -226,7 +228,7 @@ const Config = () => {
useEffect(() => {
if (value && loading) {
asyncUpdateStatus();
// asyncUpdateStatus();
}
}, [value]);