From 86551ff70e7c5458e41d79f306f7f83afdb8d287 Mon Sep 17 00:00:00 2001 From: Barrior Date: Thu, 4 Jul 2024 14:40:52 +0800 Subject: [PATCH] =?UTF-8?q?docs:=20=E6=96=87=E6=A1=A3=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- examples/search-table-react/001-intro.md | 15 ++------ examples/search-table-react/050-tabs.md | 45 +++++------------------- 2 files changed, 12 insertions(+), 48 deletions(-) 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 = () => {