mirror of
https://github.com/certd/certd.git
synced 2026-04-15 05:00:52 +08:00
🔱: [client] sync upgrade with 3 commits [trident-sync]
chore: build: publish success
This commit is contained in:
@@ -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: {
|
||||
//如果与官方字段类型同名,将会覆盖官方的字段类型
|
||||
|
||||
Reference in New Issue
Block a user