Skip to content

Commit

Permalink
fix: index页面的href跳转位置需要加 base值;yml具体版本
Browse files Browse the repository at this point in the history
  • Loading branch information
eyea committed Oct 10, 2023
1 parent 7fb796d commit 425246e
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@ jobs:
uses: withastro/action@v1
with:
# path: . # 存储库中 Astro 项目的根位置。(可选)
node-version: 20 # 用于构建站点的特定 Node.js 版本,默认为 18。(可选)
package-manager: pnpm@latest # 应使用哪个 Node.js 包管理器来安装依赖项和构建站点。会根据存储库中的 lockfile 自动检测。(可选)
node-version: 20.8.0 # 用于构建站点的特定 Node.js 版本,默认为 18。(可选)
package-manager: pnpm@8.8.0 # 应使用哪个 Node.js 包管理器来安装依赖项和构建站点。会根据存储库中的 lockfile 自动检测。(可选)

deploy:
needs: build
Expand Down
10 changes: 5 additions & 5 deletions src/pages/index.astro
Original file line number Diff line number Diff line change
Expand Up @@ -38,11 +38,11 @@ import Card from "../components/Card.astro";
一些使用 <code>astro + preact</code>的例子。<br />
</p>
<ul role="list" class="link-card-grid">
<Card href="./preact/1" title="基础节点类型" body="共8种: react polygon group 等" />
<Card href="./preact/2" title="自定义节点类型" body="比如: UserTask" />
<Card href="./preact/3" title="更改节点样式" body="根据业务需求更改节点样式" />
<Card href="./preact/4" title="定义连线类型" body="连线类型: polyline line bezier 等" />
<Card href="./preact/5" title="更改连线的样式" body="比如连线的颜色,粗细,文本样式 等" />
<Card href="./LogicFlowDemos/preact/1" title="基础节点类型" body="共8种: react polygon group 等" />
<Card href="./LogicFlowDemos/preact/2" title="自定义节点类型" body="比如: UserTask" />
<Card href="./LogicFlowDemos/preact/3" title="更改节点样式" body="根据业务需求更改节点样式" />
<Card href="./LogicFlowDemos/preact/4" title="定义连线类型" body="连线类型: polyline line bezier 等" />
<Card href="./LogicFlowDemos/preact/5" title="更改连线的样式" body="比如连线的颜色,粗细,文本样式 等" />
</ul>
</main>
</Layout>
Expand Down

0 comments on commit 425246e

Please sign in to comment.