mirror of
https://github.com/CrazyJasonwell/clash-verge-rev.git
synced 2026-10-19 16:45:41 +08:00
fix: switch missing break
This commit is contained in:
1 parent
b721f148f0
commit
0b29fa2288
1 file changed
+2
@@ -66,8 +66,10 @@ export const EditorViewer = (props: Props) => {
|
||||
switch (mode) {
|
||||
case "profile": // profile文件
|
||||
fetchContent = readProfileFile(property);
|
||||
break;
|
||||
case "text": // 文本内容
|
||||
fetchContent = Promise.resolve(property);
|
||||
break;
|
||||
}
|
||||
fetchContent.then((data) => {
|
||||
const dom = editorRef.current;
|
||||
|
||||
Reference in new issue
Block a user