chore: make the case correct (#10458)

This commit is contained in:
neverland
2022-04-02 10:57:54 +08:00
committed by GitHub
parent d507e97996
commit 995cad17fd
15 changed files with 30 additions and 30 deletions
@@ -742,7 +742,7 @@ Vant follows [Semantic Versioning 2.0.0](https://semver.org/lang/zh-CN/).
**Bug Fixes**
- fix incorrect tag prompts under Webstorm [#8450](https://github.com/youzan/vant/issues/8450)
- fix incorrect tag prompts under WebStorm [#8450](https://github.com/youzan/vant/issues/8450)
### [v3.0.11](https://github.com/youzan/vant/compare/v3.0.10...v3.0.11)
@@ -746,7 +746,7 @@ Vant 遵循 [Semver](https://semver.org/lang/zh-CN/) 语义化版本规范。
**Bug Fixes**
- 修复 Webstorm 下组件标签提示不正确的问题 [#8450](https://github.com/youzan/vant/issues/8450)
- 修复 WebStorm 下组件标签提示不正确的问题 [#8450](https://github.com/youzan/vant/issues/8450)
### [v3.0.11](https://github.com/youzan/vant/compare/v3.0.10...v3.0.11)
@@ -73,10 +73,10 @@ For enterprise developers, we recommend:
### CLI
We recommend to use [Vue Cli](https://cli.vuejs.org/) to create a new project.
We recommend to use [Vue CLI](https://cli.vuejs.org/) to create a new project.
```bash
# Install Vue Cli
# Install Vue CLI
npm install -g @vue/cli
# Create a project
@@ -84,7 +84,7 @@ pnpm add vant
- 基于 Vite 和 Vant 搭建应用
- 基于 Nuxt 和 Vant 搭建应用
- 基于 Vue Cli 和 Vant 搭建应用
- 基于 Vue CLI 和 Vant 搭建应用
- 配置按需引入组件
- 配置基于 Rem 的适配方案
- 配置基于 Viewport 的适配方案
+1 -1
View File
@@ -10,7 +10,7 @@ Vant 提供了一套默认主题,CSS 命名采用 BEM 的风格,方便使用
### 示例工程
我们提供了一个基于 Vue Cli 3 的示例工程,仓库地址为 [Vant Demo](https://github.com/youzan/vant-demo),其中包含了定制主题的基本配置,可以作为参考。
我们提供了一个基于 Vue CLI 3 的示例工程,仓库地址为 [Vant Demo](https://github.com/youzan/vant-demo),其中包含了定制主题的基本配置,可以作为参考。
### 样式变量
+1 -1
View File
@@ -222,7 +222,7 @@ imagePreviewRef.value?.swipeTo(1);
| Attribute | Description | Type |
| --------- | ---------------------- | -------- |
| url | Url of current image | _number_ |
| url | URL of current image | _number_ |
| index | Index of current image | _number_ |
### onScale Parameters
+4 -4
View File
@@ -38,7 +38,7 @@ export default {
setup() {
const showShare = ref(false);
const options = [
{ name: 'Wechat', icon: 'wechat' },
{ name: 'WeChat', icon: 'wechat' },
{ name: 'Weibo', icon: 'weibo' },
{ name: 'Link', icon: 'link' },
{ name: 'Poster', icon: 'poster' },
@@ -73,8 +73,8 @@ export default {
const showShare = ref(false);
const options = [
[
{ name: 'Wechat', icon: 'wechat' },
{ name: 'Wechat Moments', icon: 'wechat-moments' },
{ name: 'WeChat', icon: 'wechat' },
{ name: 'WeChat Moments', icon: 'wechat-moments' },
{ name: 'Weibo', icon: 'weibo' },
{ name: 'QQ', icon: 'qq' },
],
@@ -147,7 +147,7 @@ export default {
setup() {
const showShare = ref(false);
const options = [
{ name: 'Wechat', icon: 'wechat' },
{ name: 'WeChat', icon: 'wechat' },
{ name: 'Weibo', icon: 'weibo' },
{ name: 'Link', icon: 'link', description: 'Description' },
{ name: 'Poster', icon: 'poster' },
+2 -2
View File
@@ -29,7 +29,7 @@ const t = useTranslate({
link: 'Link',
title: 'Share',
weibo: 'Weibo',
wechat: 'Wechat',
wechat: 'WeChat',
poster: 'Poster',
qrcode: 'Qrcode',
multiLine: 'Multi Line',
@@ -38,7 +38,7 @@ const t = useTranslate({
customIcon: 'Custom Icon',
description: 'Description',
weappQrcode: 'Weapp Qrcode',
wechatMoments: 'Wechat Moments',
wechatMoments: 'WeChat Moments',
},
});