-
- 指定容器
-
+
```
diff --git a/src/packages/__VUE/swipe/doc.md b/src/packages/__VUE/swipe/doc.md
index 5b8220a04d..87e4ff88ea 100644
--- a/src/packages/__VUE/swipe/doc.md
+++ b/src/packages/__VUE/swipe/doc.md
@@ -86,7 +86,8 @@ app.use(Swipe);
```
diff --git a/src/packages/__VUE/swipe/doc.taro.md b/src/packages/__VUE/swipe/doc.taro.md
index 83821e307a..ee75e19ff6 100644
--- a/src/packages/__VUE/swipe/doc.taro.md
+++ b/src/packages/__VUE/swipe/doc.taro.md
@@ -86,7 +86,8 @@ app.use(Swipe);
```
diff --git a/src/packages/__VUE/switch/doc.en-US.md b/src/packages/__VUE/switch/doc.en-US.md
index 8a72a060b0..7961aad119 100644
--- a/src/packages/__VUE/switch/doc.en-US.md
+++ b/src/packages/__VUE/switch/doc.en-US.md
@@ -6,7 +6,7 @@ Used to turn options on or off.
### Install
-```javascript
+```js
import { createApp } from 'vue';
import { Switch } from '@nutui/nutui';
@@ -18,18 +18,13 @@ app.use(Switch);
:::demo
-```html
+```vue
-
```
@@ -39,18 +34,13 @@ app.use(Switch);
:::demo
-```html
+```vue
-
```
@@ -60,18 +50,13 @@ app.use(Switch);
:::demo
-```html
+```vue
-
+
-
```
@@ -81,27 +66,16 @@ app.use(Switch);
:::demo
-```html
+```vue
-
```
@@ -111,31 +85,19 @@ app.use(Switch);
:::demo
-```html
+```vue
-
```
@@ -145,18 +107,13 @@ app.use(Switch);
:::demo
-```html
+```vue
-
```
@@ -166,18 +123,13 @@ app.use(Switch);
:::demo
-```html
+```vue
-
+
-
```
@@ -187,21 +139,16 @@ app.use(Switch);
:::demo
-```html
+```vue
-
```
diff --git a/src/packages/__VUE/switch/doc.md b/src/packages/__VUE/switch/doc.md
index 3693c00569..f882823044 100644
--- a/src/packages/__VUE/switch/doc.md
+++ b/src/packages/__VUE/switch/doc.md
@@ -6,7 +6,7 @@
### 安装
-```javascript
+```js
import { createApp } from 'vue';
import { Switch } from '@nutui/nutui';
@@ -18,18 +18,13 @@ app.use(Switch);
:::demo
-```html
+```vue
-
```
@@ -39,18 +34,13 @@ app.use(Switch);
:::demo
-```html
+```vue
-
```
@@ -60,18 +50,13 @@ app.use(Switch);
:::demo
-```html
+```vue
-
```
@@ -81,27 +66,16 @@ app.use(Switch);
:::demo
-```html
+```vue
-
```
@@ -111,31 +85,19 @@ app.use(Switch);
:::demo
-```html
+```vue
-
```
@@ -145,18 +107,13 @@ app.use(Switch);
:::demo
-```html
+```vue
-
```
@@ -166,18 +123,13 @@ app.use(Switch);
:::demo
-```html
+```vue
-
```
@@ -187,21 +139,16 @@ app.use(Switch);
:::demo
-```html
+```vue
-
```
diff --git a/src/packages/__VUE/switch/doc.taro.md b/src/packages/__VUE/switch/doc.taro.md
index 7b3c2eee2b..b18ae3ab67 100644
--- a/src/packages/__VUE/switch/doc.taro.md
+++ b/src/packages/__VUE/switch/doc.taro.md
@@ -6,7 +6,7 @@
### 安装
-```javascript
+```js
import { createApp } from 'vue';
import { Switch } from '@nutui/nutui-taro';
@@ -18,18 +18,13 @@ app.use(Switch);
:::demo
-```html
+```vue
-
```
@@ -39,18 +34,13 @@ app.use(Switch);
:::demo
-```html
+```vue
-
```
@@ -60,18 +50,13 @@ app.use(Switch);
:::demo
-```html
+```vue
-
+
-
```
@@ -81,24 +66,16 @@ app.use(Switch);
:::demo
-```html
+```vue
-
```
@@ -108,28 +85,19 @@ app.use(Switch);
:::demo
-```html
+```vue
-
```
@@ -139,18 +107,13 @@ app.use(Switch);
:::demo
-```html
+```vue
-
```
@@ -160,18 +123,13 @@ app.use(Switch);
:::demo
-```html
+```vue
-
```
@@ -181,21 +139,16 @@ app.use(Switch);
:::demo
-```html
+```vue
-
```
diff --git a/src/packages/__VUE/table/doc.md b/src/packages/__VUE/table/doc.md
index 32cca5526f..db50e0f135 100644
--- a/src/packages/__VUE/table/doc.md
+++ b/src/packages/__VUE/table/doc.md
@@ -412,7 +412,7 @@ app.use(Table);
size: 'small',
type: 'primary'
},
- 'Hello'
+ () => 'Hello'
);
}
},
@@ -438,7 +438,7 @@ app.use(Table);
window.open('https://www.jd.com');
}
},
- '跳转到京东'
+ () => '跳转到京东'
);
}
}
diff --git a/src/packages/__VUE/table/doc.taro.md b/src/packages/__VUE/table/doc.taro.md
index 04073a12e2..468c05dbd5 100644
--- a/src/packages/__VUE/table/doc.taro.md
+++ b/src/packages/__VUE/table/doc.taro.md
@@ -412,7 +412,7 @@ app.use(Table);
size: 'small',
type: 'primary'
},
- 'Hello'
+ () => 'Hello'
);
}
},
@@ -438,7 +438,7 @@ app.use(Table);
window.open('https://www.jd.com');
}
},
- '跳转到京东'
+ () => '跳转到京东'
);
}
}
diff --git a/src/packages/__VUE/textarea/doc.en-US.md b/src/packages/__VUE/textarea/doc.en-US.md
index 9bedde19f5..0efae46a4d 100644
--- a/src/packages/__VUE/textarea/doc.en-US.md
+++ b/src/packages/__VUE/textarea/doc.en-US.md
@@ -6,7 +6,7 @@ Enter or edit text in the text box, and limit the number of entries is supported
### 安装
-```javascript
+```js
import { createApp } from 'vue';
import { Textarea } from '@nutui/nutui';
@@ -18,18 +18,13 @@ app.use(Textarea);
:::demo
-```html
+```vue
-
```
@@ -39,10 +34,14 @@ app.use(Textarea);
:::demo
-```html
+```vue
+
```
:::
@@ -51,10 +50,14 @@ app.use(Textarea);
:::demo
-```html
+```vue
-
+
+
```
:::
@@ -63,7 +66,7 @@ app.use(Textarea);
:::demo
-```html
+```vue
diff --git a/src/packages/__VUE/textarea/doc.md b/src/packages/__VUE/textarea/doc.md
index 697e75bbb7..25194dc017 100644
--- a/src/packages/__VUE/textarea/doc.md
+++ b/src/packages/__VUE/textarea/doc.md
@@ -6,7 +6,7 @@
### 安装
-```javascript
+```js
import { createApp } from 'vue';
import { Textarea } from '@nutui/nutui';
@@ -18,18 +18,13 @@ app.use(Textarea);
:::demo
-```html
+```vue
-
```
@@ -39,10 +34,14 @@ app.use(Textarea);
:::demo
-```html
+```vue
+
```
:::
@@ -51,10 +50,14 @@ app.use(Textarea);
:::demo
-```html
+```vue
+
```
:::
@@ -63,7 +66,7 @@ app.use(Textarea);
:::demo
-```html
+```vue
@@ -91,11 +94,11 @@ app.use(Textarea);
### Events
-| 事件名 | 说明 | 回调参数 |
-| ------ | ------------------ | -------------- |
-| change | 输入框值改变时触发 | `value` |
-| focus | 聚焦时触发 | `event` |
-| blur | 失焦时触发 | `value, event` |
+| 事件名 | 说明 | 回调参数 |
+| ------ | ------------------ | ------------- |
+| change | 输入框值改变时触发 | `value` |
+| focus | 聚焦时触发 | `event` |
+| blur | 失焦时触发 | `value,event` |
## 主题定制
diff --git a/src/packages/__VUE/textarea/doc.taro.md b/src/packages/__VUE/textarea/doc.taro.md
index efef55c1c3..2b7284370a 100644
--- a/src/packages/__VUE/textarea/doc.taro.md
+++ b/src/packages/__VUE/textarea/doc.taro.md
@@ -6,7 +6,7 @@
### 安装
-```javascript
+```js
import { createApp } from 'vue';
import { Textarea } from '@nutui/nutui-taro';
@@ -18,18 +18,13 @@ app.use(Textarea);
:::demo
-```html
+```vue
-
```
@@ -39,10 +34,14 @@ app.use(Textarea);
:::demo
-```html
+```vue
+
```
:::
@@ -51,10 +50,14 @@ app.use(Textarea);
:::demo
-```html
+```vue
+
```
:::
@@ -63,7 +66,7 @@ app.use(Textarea);
:::demo
-```html
+```vue