diff --git a/examples/search-table-react/001-intro.md b/examples/search-table-react/001-intro.md index 77b5c9b..e7fbecb 100644 --- a/examples/search-table-react/001-intro.md +++ b/examples/search-table-react/001-intro.md @@ -103,18 +103,9 @@ import { pinyin } from 'pinyin-pro' const REG_CHINESE = /[\u4e00-\u9fa5]/ const items = [ - { - key: '1', - label: '已提交', - }, - { - key: '2', - label: '待提交', - }, - { - key: '3', - label: '待审核', - }, + { key: '1', label: '已提交' }, + { key: '2', label: '待提交' }, + { key: '3', label: '待审核' }, ] // 模拟删除接口 diff --git a/examples/search-table-react/050-tabs.md b/examples/search-table-react/050-tabs.md index 1d87bdf..1a224e8 100644 --- a/examples/search-table-react/050-tabs.md +++ b/examples/search-table-react/050-tabs.md @@ -18,18 +18,9 @@ import SearchTable from '@schema-render/search-table-react' import { useState } from 'react' const items = [ - { - key: '1', - label: '已提交', - }, - { - key: '2', - label: '待提交', - }, - { - key: '3', - label: '待审核', - }, + { key: '1', label: '已提交' }, + { key: '2', label: '待提交' }, + { key: '3', label: '待审核' }, ] const Demo = () => { @@ -75,18 +66,9 @@ import SearchTable from '@schema-render/search-table-react' import { useState } from 'react' const items = [ - { - key: '1', - label: '已提交', - }, - { - key: '2', - label: '待提交', - }, - { - key: '3', - label: '待审核', - }, + { key: '1', label: '已提交' }, + { key: '2', label: '待提交' }, + { key: '3', label: '待审核' }, ] const Demo = () => { @@ -166,18 +148,9 @@ import { useState } from 'react' import { Button } from 'antd' const items = [ - { - key: '1', - label: '已提交', - }, - { - key: '2', - label: '待提交', - }, - { - key: '3', - label: '待审核', - }, + { key: '1', label: '已提交' }, + { key: '2', label: '待提交' }, + { key: '3', label: '待审核' }, ] const Demo = () => {