fix(ui): [UI7-2] 统一全局 Design Tokens,移除冗余字体,修复异常色值引用
这个提交包含在:
@@ -33,8 +33,8 @@ export class ErrorBoundary extends Component<Props, State> {
|
||||
|
||||
return (
|
||||
<Card className="mx-auto mt-12 max-w-lg space-y-4 p-6 text-center">
|
||||
<h2 className="text-lg font-semibold text-slate-900">页面渲染出错</h2>
|
||||
<p className="text-sm text-slate-600">
|
||||
<h2 className="text-lg font-semibold text-zinc-900">页面渲染出错</h2>
|
||||
<p className="text-sm text-zinc-600">
|
||||
{this.state.error?.message ?? "发生了未知错误"}
|
||||
</p>
|
||||
<div className="flex justify-center gap-3">
|
||||
@@ -46,7 +46,7 @@ export class ErrorBoundary extends Component<Props, State> {
|
||||
重试
|
||||
</button>
|
||||
<button
|
||||
className="inline-flex h-11 items-center rounded-lg border border-slate-200 bg-white px-4 text-sm font-medium text-slate-700 hover:bg-slate-50"
|
||||
className="inline-flex h-11 items-center rounded-lg border border-zinc-200 bg-white px-4 text-sm font-medium text-zinc-700 hover:bg-zinc-50"
|
||||
onClick={() => {
|
||||
window.location.href = "/dashboard";
|
||||
}}
|
||||
|
||||
在新工单中引用
屏蔽一个用户