mirror of
https://github.com/clash-verge-rev/clash-verge-rev
synced 2025-05-05 06:43:44 +08:00
fix: switch missing break
This commit is contained in:
parent
e8dee1ddd9
commit
5e43c060fa
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user