新增bannert图显示状态tag
This commit is contained in:
1 parent
9e7e7215e9
commit
b3ae608daa
3 files changed
+32
-14
No files matched your search
@@ -37,6 +37,7 @@ const props = defineProps<{
|
||||
isEdit?: Boolean | null
|
||||
headerTitle?: String | null
|
||||
classify: Classify | {}
|
||||
count:number
|
||||
}>()
|
||||
const form = ref<FormInstanceFunctions | null>(null)
|
||||
const header = computed(() => `${props.isEdit ? '编辑' : '创建'}${props.headerTitle || ''}`)
|
||||
@@ -142,8 +143,12 @@ watch(
|
||||
() => props.classify,
|
||||
(newClassify) => {
|
||||
Object.assign(carousalData, newClassify)
|
||||
console.log(carousalData)
|
||||
},
|
||||
{
|
||||
deep: true,
|
||||
immediate: true
|
||||
},
|
||||
{ deep: true }
|
||||
)
|
||||
const fetchSaveClassifyData = async () => {
|
||||
/* TODO: 保存分类数据 */
|
||||
|
||||
Reference in new issue
Block a user