mirror of
https://gh.catmak.name/https://github.com/mihomo-party-org/mihomo-party
synced 2025-12-26 20:50:30 +08:00
fix custom substore
This commit is contained in:
parent
3df21e1895
commit
29373c56e4
@ -7,5 +7,6 @@
|
||||
- 修复部分用户无法打开Sub-Store页面的问题
|
||||
- 修复Sub-Store无法复制的问题
|
||||
- 修复MacOS路径有空格导致内核启动失败的问题
|
||||
- 修复使用自建Sub-Store后端无法显示界面的问题
|
||||
- 修复导入本地订阅失败的问题
|
||||
- 修复Linux无法启动的问题
|
||||
|
||||
@ -15,11 +15,11 @@ const SubStore: React.FC = () => {
|
||||
setFrontendPort(await subStoreFrontendPort())
|
||||
}
|
||||
useEffect(() => {
|
||||
if (!useCustomSubStore) {
|
||||
getPort()
|
||||
}
|
||||
getPort()
|
||||
}, [useCustomSubStore])
|
||||
if (!backendPort || !frontendPort) return null
|
||||
|
||||
if (!useCustomSubStore && !backendPort) return null
|
||||
if (!frontendPort) return null
|
||||
return (
|
||||
<>
|
||||
<BasePage
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user