项目 表单设置 添加 插槽

feature-JimuReport-1106-yjl
张同海 4 weeks ago
parent fe9ceb5bf5
commit 0f61f5439b

@ -56,7 +56,7 @@
name: {
type: String,
default: '',
}
},
},
setup(props, context) {
const { t } = useI18n()
@ -74,6 +74,7 @@
required: item.required || false,
colProps: item.colProps || { span: 24 },
component: item.component,
slot: item.slot,
}
//
if (item.show !== false) {
@ -95,8 +96,7 @@
columns: columns,
}),
}
editCodeGoodsType(Apidata)
.then((res) => {
editCodeGoodsType(Apidata).then((res) => {
if (res.succeeded) {
createMessage.success('添加成功!')
}

@ -165,11 +165,12 @@
>
</div>
</template>
<!-- <template #description="item">
</template> -->
<template #description="{ model, values }">
<span class="iconfont icon-fuzhi11" @click="copyTxt(values, 'description')"></span>
<span
v-show="values.description"
class="iconfont icon-fuzhi11"
@click="copyTxt(values, 'description')"
></span>
<a-input
@change="
(e) => {

Loading…
Cancel
Save