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 { listCategories, addCategory, updateCategory, deleteCategories } from '@/api/pms/category'
|
||||||
import { Plus, Edit, Delete } from '@element-plus/icons-vue'
|
import { Plus, Edit, Delete } from '@element-plus/icons-vue'
|
||||||
import SingleUpload from '@/components/Upload/SingleUpload.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";
|
import { ElForm, ElMessage, ElMessageBox, ElTree } from "element-plus";
|
||||||
|
|
||||||
const emit = defineEmits(['categoryClick'])
|
const emit = defineEmits(['categoryClick'])
|
||||||
|
|||||||
@@ -32,7 +32,12 @@ const route = useRoute();
|
|||||||
const state = reactive({
|
const state = reactive({
|
||||||
loaded: false,
|
loaded: false,
|
||||||
active: 0,
|
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)
|
const { loaded, active, goodsInfo } = toRefs(state)
|
||||||
|
|||||||
@@ -72,7 +72,7 @@
|
|||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script setup lang="ts">
|
<script setup lang="ts">
|
||||||
import { onMounted, reactive, ref, toRefs, defineEmits } from "vue";
|
import { onMounted, reactive, ref, toRefs } from "vue";
|
||||||
import {
|
import {
|
||||||
listDictPages,
|
listDictPages,
|
||||||
getDictFormDetail,
|
getDictFormDetail,
|
||||||
|
|||||||
@@ -116,7 +116,7 @@
|
|||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script setup lang="ts">
|
<script setup lang="ts">
|
||||||
import { reactive, ref, onMounted, toRefs, defineEmits } from "vue";
|
import { reactive, ref, onMounted, toRefs } from "vue";
|
||||||
|
|
||||||
import { Search, Plus, Edit, Refresh, Delete } from "@element-plus/icons-vue";
|
import { Search, Plus, Edit, Refresh, Delete } from "@element-plus/icons-vue";
|
||||||
import { ElForm, ElMessage, ElMessageBox } from "element-plus";
|
import { ElForm, ElMessage, ElMessageBox } from "element-plus";
|
||||||
|
|||||||
@@ -69,13 +69,13 @@
|
|||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script setup lang="ts">
|
<script setup lang="ts">
|
||||||
import { onMounted, reactive, ref, toRefs, defineEmits } from "vue";
|
import { onMounted, reactive, ref, toRefs } from "vue";
|
||||||
import {
|
import {
|
||||||
listRolePages,
|
listRolePages,
|
||||||
updateRole,
|
updateRole,
|
||||||
getRoleFormDetail,
|
getRoleFormDetail,
|
||||||
addRole,
|
addRole,
|
||||||
deleteRoles,
|
deleteRoles
|
||||||
} from "@/api/system/role";
|
} from "@/api/system/role";
|
||||||
import { ElForm, ElMessage, ElMessageBox } from "element-plus";
|
import { ElForm, ElMessage, ElMessageBox } from "element-plus";
|
||||||
import { Search, Plus, Edit, Refresh, Delete } from "@element-plus/icons-vue";
|
import { Search, Plus, Edit, Refresh, Delete } from "@element-plus/icons-vue";
|
||||||
|
|||||||
Reference in New Issue
Block a user