{{ translate('content') }}
@@ -23,7 +23,7 @@
-
-
diff --git a/src/packages/__VUE/toast/demo.vue b/src/packages/__VUE/toast/demo.vue
index 91024d2d15..1cd6ecf3b5 100644
--- a/src/packages/__VUE/toast/demo.vue
+++ b/src/packages/__VUE/toast/demo.vue
@@ -20,12 +20,13 @@
-
-
+const BottomToast = (msg: string) => {
+ showToast.text(msg, {
+ id: 'taset11',
+ center: false,
+ bottom: '10%'
+ });
+};
+const NoLoading = (msg: string) => {
+ showToast.loading(msg, {
+ cover: true
+ });
+};
+
diff --git a/src/packages/__VUE/toast/doc.en-US.md b/src/packages/__VUE/toast/doc.en-US.md
index 228e0174ed..8dbb487f06 100644
--- a/src/packages/__VUE/toast/doc.en-US.md
+++ b/src/packages/__VUE/toast/doc.en-US.md
@@ -6,7 +6,7 @@ for light tips.
### Install
-```javascript
+```js
import { createApp } from 'vue';
import { Toast } from '@nutui/nutui';
@@ -18,23 +18,16 @@ app.use(Toast);
:::demo
-```html
+```vue
-
```
@@ -44,25 +37,18 @@ app.use(Toast);
:::demo
-```html
+```vue
-
```
@@ -72,23 +58,16 @@ app.use(Toast);
:::demo
-```html
+```vue
-
```
@@ -98,23 +77,16 @@ app.use(Toast);
:::demo
-```html
+```vue
-
```
@@ -124,23 +96,16 @@ app.use(Toast);
:::demo
-```html
+```vue
-
```
@@ -150,23 +115,16 @@ app.use(Toast);
:::demo
-```html
+```vue
-
```
@@ -176,25 +134,18 @@ app.use(Toast);
:::demo
-```html
+```vue
-
```
@@ -204,26 +155,19 @@ app.use(Toast);
:::demo
-```html
+```vue
-
```
@@ -233,25 +177,18 @@ app.use(Toast);
:::demo
-```html
+```vue
-
```
@@ -259,7 +196,7 @@ app.use(Toast);
### Support import and use in JS modules
-```javascript
+```js
import { showToast } from '@nutui/nutui';
import '@nutui/nutui/dist/packages/toast/style';
showToast.text('use in js module');
diff --git a/src/packages/__VUE/toast/doc.md b/src/packages/__VUE/toast/doc.md
index b3e84e6ee0..895fc41701 100644
--- a/src/packages/__VUE/toast/doc.md
+++ b/src/packages/__VUE/toast/doc.md
@@ -6,7 +6,7 @@
### 安装
-```javascript
+```js
import { createApp } from 'vue';
import { Toast } from '@nutui/nutui';
@@ -18,23 +18,16 @@ app.use(Toast);
:::demo
-```html
+```vue
-
```
@@ -44,25 +37,18 @@ app.use(Toast);
:::demo
-```html
+```vue
-
```
@@ -72,23 +58,16 @@ app.use(Toast);
:::demo
-```html
+```vue
-
```
@@ -98,23 +77,16 @@ app.use(Toast);
:::demo
-```html
+```vue
-
```
@@ -124,23 +96,16 @@ app.use(Toast);
:::demo
-```html
+```vue
-
```
@@ -150,23 +115,16 @@ app.use(Toast);
:::demo
-```html
+```vue
-
```
@@ -176,25 +134,18 @@ app.use(Toast);
:::demo
-```html
+```vue
-
```
@@ -204,26 +155,19 @@ app.use(Toast);
:::demo
-```html
+```vue
-
```
@@ -233,25 +177,18 @@ app.use(Toast);
:::demo
-```html
+```vue
-
```
@@ -259,7 +196,7 @@ app.use(Toast);
### 支持在 JS 模块中导入使用
-```javascript
+```js
import { showToast } from '@nutui/nutui';
import '@nutui/nutui/dist/packages/toast/style';
showToast.text('在js模块中使用');
diff --git a/src/packages/__VUE/toast/doc.taro.md b/src/packages/__VUE/toast/doc.taro.md
index d12b03cfbb..d231af07b9 100644
--- a/src/packages/__VUE/toast/doc.taro.md
+++ b/src/packages/__VUE/toast/doc.taro.md
@@ -8,7 +8,7 @@
### 安装
-```javascript
+```js
import { createApp } from 'vue';
import { Toast } from '@nutui/nutui-taro';
@@ -18,66 +18,54 @@ app.use(Toast);
### 基础用法
-```html
-
-
-
-
-
-
-
-
-
-```
-
-```javascript
+:::
+
+```vue
+
+
+
+
+
+
+
+
+
+
+
+
```
+:::
+
## API
### Props