fix: adapt frontend for legacy Chrome and runtime config
This commit is contained in:
1 parent
db2f21191c
commit
388a9133fc
84 files changed
+1186
-528
No files matched your search
@@ -175,7 +175,7 @@ export default function BusinessChainListPage() {
|
||||
toast.success(
|
||||
chain.isPublic
|
||||
? `已取消发布「${chain.title || "未命名链条"}」`
|
||||
: `🌍「${chain.title || "未命名链条"}」已发布到公共选用库`,
|
||||
: `「${chain.title || "未命名链条"}」已发布到公共选用库`,
|
||||
);
|
||||
} catch (err) {
|
||||
toast.error(`操作失败:${err instanceof Error ? err.message : String(err)}`);
|
||||
@@ -196,7 +196,7 @@ export default function BusinessChainListPage() {
|
||||
await deleteChain(chain.id);
|
||||
await refresh(scope);
|
||||
await loadStats();
|
||||
toast.success(`🗑️ 已删除链条「${name}」`);
|
||||
toast.success(`已删除链条「${name}」`);
|
||||
setPendingDelete(null);
|
||||
} catch (err) {
|
||||
toast.error(`删除失败:${err instanceof Error ? err.message : String(err)}`);
|
||||
|
||||
Reference in new issue
Block a user