refactor: type name
This commit is contained in:
parent
548f10feab
commit
f26f6b51d6
7 changed files with 24 additions and 24 deletions
|
|
@ -4,7 +4,7 @@ import { formatNumberDecimal } from 'stores/utils';
|
|||
|
||||
import useProductServiceStore from 'stores/product-service';
|
||||
import useOptionStore from 'stores/options';
|
||||
import { Attributes, ProductList } from 'stores/product-service/types';
|
||||
import { Attributes, Product } from 'stores/product-service/types';
|
||||
import { storeToRefs } from 'pinia';
|
||||
import { ref, watch } from 'vue';
|
||||
|
||||
|
|
@ -39,7 +39,7 @@ withDefaults(
|
|||
|
||||
const workName = defineModel<string>('workName');
|
||||
const attributes = defineModel<Attributes>('attributes', { required: true });
|
||||
const productItems = defineModel<(ProductList & { nameEn: string })[]>(
|
||||
const productItems = defineModel<(Product & { nameEn: string })[]>(
|
||||
'productItems',
|
||||
{
|
||||
required: true,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue