修改KEY
This commit is contained in:
@ -28,10 +28,10 @@ const ViewReviewPage: React.FC = () => {
|
||||
const query = /%[0-9A-F]{2}/i.test(decodedStr) ? decodeURIComponent(decodedStr) : decodedStr;
|
||||
const p2 = new URLSearchParams(query);
|
||||
const id = p2.get('id') ?? '';
|
||||
const code = p2.get('code') ?? '';
|
||||
const type = p2.get('type') ?? '';
|
||||
const userId = p2.get('userId') ?? '';
|
||||
if (!id) return;
|
||||
setType(code); // code 现在一定是 string
|
||||
setType(type); // code 现在一定是 string
|
||||
// 初始化字典
|
||||
if (!sessionStorage.getItem('dict')) {
|
||||
refreshDictCache().then((res) => {
|
||||
|
Reference in New Issue
Block a user