fix: eslint代码检查问题修复

Former-commit-id: 0613f0e4c9e880d302abfc81aab48ab5410986c7
This commit is contained in:
郝先瑞
2022-04-16 00:08:05 +08:00
parent 55e097eb2c
commit af7162b88c
5 changed files with 11 additions and 6 deletions

View File

@@ -32,7 +32,12 @@ const route = useRoute();
const state = reactive({
loaded: false,
active: 0,
goodsInfo: {} as GoodsDetail
goodsInfo: {
album: [] as string[],
attrList: [] as any[],
specList: [] as any[],
skuList: [] as any[]
} as GoodsDetail
});
const { loaded, active, goodsInfo } = toRefs(state)