refactor: 模板占位符从 {{app-name}} 改为 my-app
This commit is contained in:
@@ -31,7 +31,7 @@ export function App() {
|
||||
<Menu.HeadMenu
|
||||
logo={
|
||||
<span className="dashboard-brand">
|
||||
<span className="dashboard-logo">{"{{app-name}}"}</span>
|
||||
<span className="dashboard-logo">my-app</span>
|
||||
</span>
|
||||
}
|
||||
operations={
|
||||
@@ -50,7 +50,7 @@ export function App() {
|
||||
<Content>
|
||||
<div className="dashboard-content">
|
||||
<Space direction="vertical" size="large" style={{ width: "100%" }}>
|
||||
<h2>欢迎使用 {"{{app-name}}"}</h2>
|
||||
<h2>欢迎使用 my-app</h2>
|
||||
<p>在此构建你的应用。以下是 /health API 的返回数据(前后端联调示例):</p>
|
||||
{health && <pre className="health-response">{JSON.stringify(health, null, 2)}</pre>}
|
||||
</Space>
|
||||
|
||||
Reference in New Issue
Block a user