Compare commits

...

5 Commits

Author SHA1 Message Date
chenjiahan
20d2cc0545 chore: fix action 2023-05-21 23:15:00 +08:00
chenjiahan
931a73bd52 chore: release site with node 14 2023-05-21 23:09:09 +08:00
chenjiahan
a6f7b5025f docs: update months 2023-05-21 23:06:16 +08:00
chenjiahan
1dfa8359a1 chore: update deploy-v2-site.yml 2023-05-21 23:05:20 +08:00
landluck
3db8f8a5b4
docs(Icon): icon demo params adaptive vant weapp (#11851)
* docs(icon): icon demo params adaptive vant weapp

* docs(icon): icon demo params adaptive vant weapp

---------

Co-authored-by: landluck <liuhaihong@youzan.com>
2023-05-15 16:21:14 +08:00
3 changed files with 10 additions and 5 deletions

View File

@ -17,6 +17,11 @@ jobs:
with:
ref: '2.x'
- name: Set Node Version
uses: actions/setup-node@v1
with:
node-version: '14.x'
- name: Install dependencies
uses: bahmutov/npm-install@v1
@ -24,17 +29,17 @@ jobs:
run: npx --no-install vant-cli build-site
- name: Deploy 🚀
uses: JamesIves/github-pages-deploy-action@v4.4.0
uses: JamesIves/github-pages-deploy-action@v4.4.1
with:
branch: gh-pages
folder: site
target-folder: v2
- name: Deploy for GitHub 🚀
uses: JamesIves/github-pages-deploy-action@v4.4.0
uses: JamesIves/github-pages-deploy-action@v4.4.1
with:
branch: main
folder: packages/vant/site-dist
folder: site
token: ${{ secrets.VANT_UI_TOKEN }}
repository-name: vant-ui/vant-ui.github.io
target-folder: vant/v2

View File

@ -16,7 +16,7 @@ Vant 遵循 [Semver](https://semver.org/lang/zh-CN/) 语义化版本规范。
**Vant 2 维护提示**
目前 Vant 3 已经发布超过 18 个月。对于 Vant 2我们会将维护投入降低至最小范围这意味着
目前 Vant 3 / 4 已经发布超过 24 个月。对于 Vant 2我们会将维护投入降低至最小范围这意味着
- 不再主动迭代新的功能。
- 致命 bug 依然会被处理和修复。

View File

@ -152,7 +152,7 @@ export default {
tag = `${tag} ${option.dot ? 'dot' : ''}`;
}
if ('badge' in option) {
tag = `${tag} badge="${option.badge}"`;
tag = `${tag} ${this.isWeapp ? 'info' : 'badge'}="${option.badge}"`;
}
if ('color' in option) {
tag = `${tag} color="${option.color}"`;