diff --git a/packages/varlet-ui/src/loading-bar/docs/en-US.md b/packages/varlet-ui/src/loading-bar/docs/en-US.md index 4ddb604d110..657239dfe1a 100644 --- a/packages/varlet-ui/src/loading-bar/docs/en-US.md +++ b/packages/varlet-ui/src/loading-bar/docs/en-US.md @@ -8,42 +8,37 @@ Display loading progress at the top of the page. ```html - - ``` ## API @@ -52,7 +47,7 @@ const setStyle = () => { | Method | Description | Arguments | Return value | |---------------------|----------|--|---------| -| `LoadingBar.mergeConfig` | Set config of loading bar | _options: Options_ | `-` | +| `LoadingBar.mergeConfig` | Merge config of loading bar | _options: Options_ | `-` | | `LoadingBar.start` | Start loading | `-` | `-` | | `LoadingBar.finish` | Finish loading | `-` | `-` | | `LoadingBar.error` | Loading error | `-` | `-` | diff --git a/packages/varlet-ui/src/loading-bar/docs/zh-CN.md b/packages/varlet-ui/src/loading-bar/docs/zh-CN.md index e78ead0bb50..d6460fa41b9 100644 --- a/packages/varlet-ui/src/loading-bar/docs/zh-CN.md +++ b/packages/varlet-ui/src/loading-bar/docs/zh-CN.md @@ -8,42 +8,37 @@ ```html - - ``` ## API @@ -52,7 +47,7 @@ const setStyle = () => { | 方法名 | 说明 | 参数 | 返回值 | |---------------------|----------|--|---------| -| `LoadingBar.mergeConfig` | 设置加载条的样式 | _options: Options_ | `-` | +| `LoadingBar.mergeConfig` | 合并覆盖加载条的默认样式 | _options: Options_ | `-` | | `LoadingBar.start` | 开始加载 | `-` | `-` | | `LoadingBar.finish` | 结束加载 | `-` | `-` | | `LoadingBar.error` | 加载失败 | `-` | `-` | diff --git a/packages/varlet-ui/src/loading-bar/example/index.vue b/packages/varlet-ui/src/loading-bar/example/index.vue index 0d18c584d8e..4e946a447a2 100644 --- a/packages/varlet-ui/src/loading-bar/example/index.vue +++ b/packages/varlet-ui/src/loading-bar/example/index.vue @@ -1,44 +1,38 @@ - - diff --git a/packages/varlet-ui/src/result/docs/en-US.md b/packages/varlet-ui/src/result/docs/en-US.md index 85abd81f039..7255bb795e4 100644 --- a/packages/varlet-ui/src/result/docs/en-US.md +++ b/packages/varlet-ui/src/result/docs/en-US.md @@ -20,50 +20,6 @@ It is used to show the results to users. ``` -### Custom Image - -Customize image through the `image` slot. - -```html - - - - -``` - ### Types Result type, optional values are `info`,`success`,`warning`,`error`,`question`,`empty`. diff --git a/packages/varlet-ui/src/result/docs/zh-CN.md b/packages/varlet-ui/src/result/docs/zh-CN.md index 72d20a20118..838a712ee51 100644 --- a/packages/varlet-ui/src/result/docs/zh-CN.md +++ b/packages/varlet-ui/src/result/docs/zh-CN.md @@ -20,49 +20,6 @@ ``` -### 自定义图片 - -通过 `image` 插槽对图片进行自定义 - -```html - - - -``` - ### 类型 结果类型,可选值为 `info`,`success`,`warning`,`error`,`question`,`empty`。 diff --git a/packages/varlet-ui/src/result/example/index.vue b/packages/varlet-ui/src/result/example/index.vue index a1f2513432a..dd650fa7e45 100644 --- a/packages/varlet-ui/src/result/example/index.vue +++ b/packages/varlet-ui/src/result/example/index.vue @@ -27,25 +27,6 @@ watchDarkMode(dark) - {{ pack.customImage }} - - - - - {{ pack.type }} {{ pack.success }} diff --git a/packages/varlet-ui/src/result/example/locale/en-US.ts b/packages/varlet-ui/src/result/example/locale/en-US.ts index a6bb2a16bbb..8aa964afef4 100644 --- a/packages/varlet-ui/src/result/example/locale/en-US.ts +++ b/packages/varlet-ui/src/result/example/locale/en-US.ts @@ -11,8 +11,4 @@ export default { successTitle: 'Success', description: "Hi, I'm a result description.", changeBackgroundColor: 'Change BackGround Color', - customImage: 'Custom Image', - looping: 'Looping', - kfc: '《You Are Not Alone》', - vme: 'More', } diff --git a/packages/varlet-ui/src/result/example/locale/zh-CN.ts b/packages/varlet-ui/src/result/example/locale/zh-CN.ts index 1b45d18754e..ca853353465 100644 --- a/packages/varlet-ui/src/result/example/locale/zh-CN.ts +++ b/packages/varlet-ui/src/result/example/locale/zh-CN.ts @@ -10,8 +10,4 @@ export default { button: '知道了', description: '嗨~ 我是结果页的一段描述~', changeBackgroundColor: '修改背景色', - customImage: '自定义图片', - looping: '正在循环播放', - kfc: '《疯狂星期四谁请我吃》', - vme: 'V我50', }