🔱: [client] sync upgrade with 3 commits [trident-sync]

chore:
build: publish success
pull/14/head
GitHub Actions Bot 2023-09-16 19:24:09 +00:00
parent 018dfed128
commit 2ee864ccaf
3 changed files with 16 additions and 6 deletions

View File

@ -3,6 +3,12 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
## [1.17.2](https://github.com/fast-crud/fast-crud/compare/v1.17.1...v1.17.2) (2023-09-16)
### Bug Fixes
* 修复naive 时间示例无法修改的bug ([6ab9218](https://github.com/fast-crud/fast-crud/commit/6ab92188fc19d792de8bed0190853c444784b009))
## [1.17.1](https://github.com/fast-crud/fast-crud/compare/v1.17.0...v1.17.1) (2023-09-13)
**Note:** Version bump only for package @fast-crud/fs-admin-antdv

View File

@ -1,6 +1,6 @@
{
"name": "@fast-crud/fs-admin-antdv",
"version": "1.17.1",
"version": "1.17.2",
"private": true,
"scripts": {
"dev": "vite",
@ -26,10 +26,10 @@
"@ant-design/icons-vue": "^6.1.0",
"@aws-sdk/client-s3": "^3.383.0",
"@aws-sdk/s3-request-presigner": "^3.383.0",
"@fast-crud/fast-crud": "^1.17.1",
"@fast-crud/fast-extends": "^1.17.1",
"@fast-crud/ui-antdv": "^1.17.1",
"@fast-crud/ui-interface": "^1.17.1",
"@fast-crud/fast-crud": "^1.17.2",
"@fast-crud/fast-extends": "^1.17.2",
"@fast-crud/ui-antdv": "^1.17.2",
"@fast-crud/ui-interface": "^1.17.2",
"@iconify/iconify": "^3.1.1",
"@iconify/json": "^2.2.98",
"@purge-icons/generated": "^0.9.0",

View File

@ -268,8 +268,12 @@ function install(app: any, options: any = {}) {
app.use(FsExtendsTime);
app.use(FsExtendsCopyable);
const { addTypes, getType } = useTypes();
//此处演示修改官方字段类型
const textType = getType("text");
textType.search.autoSearchTrigger = "change"; //修改官方的字段类型,设置为文本变化就触发查询
// 此处演示自定义字段类型
const { addTypes } = useTypes();
addTypes({
time2: {
//如果与官方字段类型同名,将会覆盖官方的字段类型