fix: eslint代码检查问题修复
Former-commit-id: 0613f0e4c9e880d302abfc81aab48ab5410986c7
This commit is contained in:
@@ -70,7 +70,7 @@
|
||||
import { listCategories, addCategory, updateCategory, deleteCategories } from '@/api/pms/category'
|
||||
import { Plus, Edit, Delete } from '@element-plus/icons-vue'
|
||||
import SingleUpload from '@/components/Upload/SingleUpload.vue'
|
||||
import { onMounted, reactive, ref, toRefs, unref, defineEmits } from "vue";
|
||||
import { onMounted, reactive, ref, toRefs, unref } from "vue";
|
||||
import { ElForm, ElMessage, ElMessageBox, ElTree } from "element-plus";
|
||||
|
||||
const emit = defineEmits(['categoryClick'])
|
||||
|
||||
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user