目标:在AntDesignVue的From组件中,为label添加icon图标
实现:插槽
<AFormModelItem prop="attachment" class="form-layout__item-col1 has-gap"><template #label><ATooltip placement="top">附件<template #title><span>提示文本</span></template><AIcon type="question-circle" style="margin-left: 5px;" /></ATooltip></template><JUpload v-model="model.attachment" :disabled="!isEdit" :allow-multiple='true'/></AFormModelItem>