feat:共富商品管理调整表单字段

This commit is contained in:
ctw committed 2025-11-05 19:06:12 +08:00
1 parent 8dee965b9c
commit 078e1a4717
4 files changed
+63 -31

No files matched your search

@@ -1,6 +1,6 @@
<template>
<view class="mb-20rpx">
<node-tree :node-data="categoryTree" @currentNode="currentNode" />
<node-tree v-model="selectedNodeId" :node-data="categoryTree" @currentNode="currentNode" />
<view v-if="categoryTree.length === 0" class="text-center text-#888 py-40rpx">暂无数据</view>
</view>
<view class="px-20rpx py-2 flex justify-between sticky bottom-0 bg-white">
@@ -20,6 +20,7 @@ defineProps({
default: () => [],
},
})
const selectedNodeId = defineModel("modelValue")
const emit = defineEmits(["confirm", "cancel"])
const selectedNode = ref<any>({})