浏览代码

docs(cell): demo 文案调整

eiinu 3 年之前
父节点
当前提交
551eea48ba
共有 2 个文件被更改,包括 9 次插入9 次删除
  1. 4 4
      src/packages/__VUE/cell/doc.md
  2. 5 5
      src/packages/__VUE/cell/doc.taro.md

+ 4 - 4
src/packages/__VUE/cell/doc.md

@@ -16,7 +16,7 @@ app.use(Cell);
 app.use(CellGroup);
 app.use(CellGroup);
 ```
 ```
 
 
-### 基用法
+### 基用法
 
 
 :::demo
 :::demo
 
 
@@ -33,7 +33,7 @@ app.use(CellGroup);
     setup() {
     setup() {
       const switchChecked = ref(true);
       const switchChecked = ref(true);
       const testClick = (event) => {
       const testClick = (event) => {
-        console.log('点击事件');
+        console.log('Click Test');
       };
       };
       return { testClick, switchChecked };
       return { testClick, switchChecked };
     }
     }
@@ -56,7 +56,7 @@ app.use(CellGroup);
 
 
 :::
 :::
 
 
-### 直接使用插槽
+### 直接使用插槽(slot)
 
 
 :::demo
 :::demo
 
 
@@ -72,7 +72,7 @@ app.use(CellGroup);
 
 
 
 
 
 
-### 直接使用插槽(slot title)
+### 直接使用插槽(slot title)
 
 
 :::demo
 :::demo
 
 

+ 5 - 5
src/packages/__VUE/cell/doc.taro.md

@@ -16,7 +16,7 @@ app.use(Cell);
 app.use(CellGroup);
 app.use(CellGroup);
 ```
 ```
 
 
-### 基用法
+### 基用法
 
 
 :::demo
 :::demo
 
 
@@ -33,7 +33,7 @@ app.use(CellGroup);
     setup() {
     setup() {
       const switchChecked = ref(true);
       const switchChecked = ref(true);
       const testClick = (event) => {
       const testClick = (event) => {
-        console.log('click')
+        console.log('Click Test');
       };
       };
       return { testClick, switchChecked };
       return { testClick, switchChecked };
     }
     }
@@ -56,7 +56,7 @@ app.use(CellGroup);
 
 
 :::
 :::
 
 
-### 直接使用插槽
+### 直接使用插槽(slot)
 
 
 :::demo
 :::demo
 
 
@@ -72,7 +72,7 @@ app.use(CellGroup);
 
 
 
 
 
 
-### 直接使用插槽(slot title)
+### 直接使用插槽(slot title)
 
 
 :::demo
 :::demo
 
 
@@ -155,7 +155,7 @@ app.use(CellGroup);
 
 
 :::
 :::
 
 
-### 单元格展示图标
+### 展示图标
 
 
 :::demo
 :::demo