f
This commit is contained in:
@@ -22,7 +22,8 @@ const formData = ref({
|
||||
const availableReportTypes = computed(() => {
|
||||
if (!productConfig.value?.length)
|
||||
return []
|
||||
return productConfig.value
|
||||
return [...productConfig.value]
|
||||
.sort((a, b) => Number(a.product_id) - Number(b.product_id))
|
||||
.map(item => ({
|
||||
id: item.product_id,
|
||||
label: item.product_name || `产品${item.product_id}`,
|
||||
|
||||
Reference in New Issue
Block a user