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

chore:
build: publish success
This commit is contained in:
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

@@ -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: {
//如果与官方字段类型同名,将会覆盖官方的字段类型