mirror of
https://github.com/Tencent/tmagic-editor.git
synced 2026-05-08 17:48:47 +00:00
补全方法的参数类型、返回值类型与详情说明,规范字段编辑器/字段配置/运行时 API 等文档。 Co-authored-by: Cursor <cursoragent@cursor.com>
821 B
821 B
Display 只读文本
用于显示,不可编辑
TS 定义
interface Display extends FormItem {
type: "display";
}
点击查看FormItem的定义
基础用法
<template #source>
在开启多选模式后,默认情况下会展示所有已选中的选项的Tag
Input Attributes
| 参数 | 说明 | 类型 | 可选值 | 默认值 |
|---|---|---|---|---|
| name | 绑定值 | string | — | — |
| text | 表单标签 | string | — | — |