代码调试

This commit is contained in:
BianLzhaoMin 2024-11-29 09:40:29 +08:00
parent 28d126bea5
commit eb2d335d1e
3 changed files with 9 additions and 8 deletions

5
components.d.ts vendored
View File

@ -8,6 +8,8 @@ export {}
declare module 'vue' { declare module 'vue' {
export interface GlobalComponents { export interface GlobalComponents {
Breadcrumb: typeof import('./src/components/Breadcrumb/index.vue')['default'] Breadcrumb: typeof import('./src/components/Breadcrumb/index.vue')['default']
ElBreadcrumb: typeof import('element-plus/es')['ElBreadcrumb']
ElBreadcrumbItem: typeof import('element-plus/es')['ElBreadcrumbItem']
ElButton: typeof import('element-plus/es')['ElButton'] ElButton: typeof import('element-plus/es')['ElButton']
ElCarousel: typeof import('element-plus/es')['ElCarousel'] ElCarousel: typeof import('element-plus/es')['ElCarousel']
ElCarouselItem: typeof import('element-plus/es')['ElCarouselItem'] ElCarouselItem: typeof import('element-plus/es')['ElCarouselItem']
@ -19,6 +21,7 @@ declare module 'vue' {
ElDialog: typeof import('element-plus/es')['ElDialog'] ElDialog: typeof import('element-plus/es')['ElDialog']
ElForm: typeof import('element-plus/es')['ElForm'] ElForm: typeof import('element-plus/es')['ElForm']
ElFormItem: typeof import('element-plus/es')['ElFormItem'] ElFormItem: typeof import('element-plus/es')['ElFormItem']
ElHeader: typeof import('element-plus/es')['ElHeader']
ElIcon: typeof import('element-plus/es')['ElIcon'] ElIcon: typeof import('element-plus/es')['ElIcon']
ElImage: typeof import('element-plus/es')['ElImage'] ElImage: typeof import('element-plus/es')['ElImage']
ElInput: typeof import('element-plus/es')['ElInput'] ElInput: typeof import('element-plus/es')['ElInput']
@ -31,6 +34,8 @@ declare module 'vue' {
ElProgress: typeof import('element-plus/es')['ElProgress'] ElProgress: typeof import('element-plus/es')['ElProgress']
ElRow: typeof import('element-plus/es')['ElRow'] ElRow: typeof import('element-plus/es')['ElRow']
ElSelect: typeof import('element-plus/es')['ElSelect'] ElSelect: typeof import('element-plus/es')['ElSelect']
ElStep: typeof import('element-plus/es')['ElStep']
ElSteps: typeof import('element-plus/es')['ElSteps']
ElTable: typeof import('element-plus/es')['ElTable'] ElTable: typeof import('element-plus/es')['ElTable']
ElTableColumn: typeof import('element-plus/es')['ElTableColumn'] ElTableColumn: typeof import('element-plus/es')['ElTableColumn']
ElTag: typeof import('element-plus/es')['ElTag'] ElTag: typeof import('element-plus/es')['ElTag']

View File

@ -144,13 +144,8 @@ export const useStore = defineStore('myUser', {
editUserMenuList(type: number) { editUserMenuList(type: number) {
const leaseList: any = [ const leaseList: any = [
{ title: '订单管理', name: 'orderManagementCz' }, { title: '订单管理', name: 'orderManagementCz' },
<<<<<<< HEAD
{ title: '商品管理', name: 'goodsManagement' }, { title: '商品管理', name: 'goodsManagement' },
{ title: '商品上下架', name: 'goodsUpdown' }, { title: '商品上下架', name: 'goodsUpdown' },
=======
{ title: '装备管理', name: 'goodsManagement' },
// { title: '商品上下架', name: 'goodsUpdown' },
>>>>>>> main
// { title: '机手管理', name: 'operatorManagement' }, // { title: '机手管理', name: 'operatorManagement' },
// { title: '寻源竞价', name: 'sourcingBidding' }, // { title: '寻源竞价', name: 'sourcingBidding' },
// { title: '专区管理', name: 'zoneManag' }, // { title: '专区管理', name: 'zoneManag' },

View File

@ -46,9 +46,6 @@ const userInfo: any = computed(() => {
const handleSelect = (name: any, path: any) => { const handleSelect = (name: any, path: any) => {
store.editcurrentMenuItem(name) store.editcurrentMenuItem(name)
} }
const activeMenuItem = computed(() => {
return store.currentMenuItem
})
const activeseekingRent = computed(() => { const activeseekingRent = computed(() => {
return store.currentMenuType return store.currentMenuType
@ -58,6 +55,10 @@ const menuList: any = computed(() => {
return store.leaseAndLesseeUserList return store.leaseAndLesseeUserList
}) })
const activeMenuItem = computed(() => {
return store.leaseAndLesseeUserList[0].name
})
// watch(route, (newVlaue) => { // watch(route, (newVlaue) => {
// if (newVlaue.path.indexOf('myuser') === -1) { // if (newVlaue.path.indexOf('myuser') === -1) {
// store.editcurrentMenuItem('baseInfo') // store.editcurrentMenuItem('baseInfo')