This commit is contained in:
parent
cb2aa2845d
commit
ea3569e81a
|
@ -37,18 +37,6 @@ const tagValues = ref([]);
|
|||
const categoryList = ref(null);
|
||||
const selectedCategoryFk = ref(getParamWhere(route.query.table, 'categoryFk', false));
|
||||
const selectedTypeFk = ref(getParamWhere(route.query.table, 'typeFk', false));
|
||||
// const selectedCategoryFk = ref(
|
||||
// JSON.parse(route?.query?.table ?? '{}').categoryFk ?? null
|
||||
// );
|
||||
// const selectedTypeFk = ref(JSON.parse(route?.query?.table ?? '{}').typeFk ?? null);
|
||||
// const categoryList = computed(() => {
|
||||
// return (itemCategories.value || [])
|
||||
// .filter((category) => category.display)
|
||||
// .map((category) => ({
|
||||
// ...category,
|
||||
// icon: `vn:${(category.icon || '').split('-')[1]}`,
|
||||
// }));
|
||||
// });
|
||||
|
||||
const selectedCategory = computed(() => {
|
||||
return (categoryList.value || []).find(
|
||||
|
|
Loading…
Reference in New Issue