Skip to content

Commit

Permalink
🐞 fix:更换git提交使用的name
Browse files Browse the repository at this point in the history
  • Loading branch information
autumnLeaves-lady committed Dec 12, 2023
1 parent b71120c commit 3da933e
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions docs/naive-ui-table.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,17 @@ pnpm add naive-ui-table

> 也可以使用`npm``yarn`等安装。
### 全局导入

```ts
import { createApp } from 'vue'
import NaiveUiTable from 'naive-ui-table'
import 'naive-ui-table/dist/style.css'

const app = createApp(App)
app.use(NaiveUiTable)
```

### 局部导入

```vue
Expand All @@ -41,17 +52,6 @@ import 'naive-ui-table/dist/style.css'
</script>
```

### 全局导入

```ts
import { createApp } from 'vue'
import NaiveUiTable from 'naive-ui-table'
import 'naive-ui-table/dist/style.css'

const app = createApp(App)
app.use(NaiveUiTable)
```

## 基础用法

只需传入两个参数`columns``requestApi`,即可实现异步请求数据展示表格。
Expand Down

0 comments on commit 3da933e

Please sign in to comment.