vue3 vue3-form-element表单生成工具 输入框增加后缀

JSON schema数据

{
    "title": "测试注册表单",
    "description": "A simple form example.",
    "type": "object",
    "properties": {
        "firstName": {
            "type": "string",
            "title": "First name",
            "default": "Jun",
            "ui:options": {
                "placeholder": "请输入",
                "attrs": {
                    "clearable": true
                },
                "renderScopedSlots": {
                    "append": "后缀"
                }
            }
        }
    }
}

效果图:

image

 

posted @ 2025-10-27 19:01  蓝色精灵jah  阅读(2)  评论(0)    收藏  举报