From dd63aa47654b061c9d274e88991778c094ea334e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=B2=81=E6=A0=91=E4=BA=BA?= Date: Sat, 10 Jun 2023 14:09:40 +0100 Subject: [PATCH] chore: added note about import options --- src/features/settings/panels/PanelQMCv2Key.tsx | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/src/features/settings/panels/PanelQMCv2Key.tsx b/src/features/settings/panels/PanelQMCv2Key.tsx index a165b16..5404c6d 100644 --- a/src/features/settings/panels/PanelQMCv2Key.tsx +++ b/src/features/settings/panels/PanelQMCv2Key.tsx @@ -25,7 +25,7 @@ import { useDispatch, useSelector } from 'react-redux'; import { qmc2AddKey, qmc2ClearKeys, qmc2DeleteKey, qmc2UpdateKey } from '../settingsSlice'; import { selectStagingQMCv2Settings } from '../settingsSelector'; import React from 'react'; -import { MdAdd, MdAndroid, MdDelete, MdDeleteForever, MdExpandMore, MdFileUpload, MdVpnKey } from 'react-icons/md'; +import { MdAdd, MdDelete, MdDeleteForever, MdExpandMore, MdFileUpload, MdVpnKey } from 'react-icons/md'; export function PanelQMCv2Key() { const dispatch = useDispatch(); @@ -51,14 +51,12 @@ export function PanelQMCv2Key() { }> - alert('TODO!')} icon={}> - 从文件导入(JSON) + {/* 目前的想法是弹出一个 modal,给用户一些信息(如期待的格式、如何导出或寻找对应的文件) */} + {/* 但是这样的话就不太方便放在这个分支里面做了,下次一定。 */} + - {/* 需要加入 SQL.js 再处理 */} - - +