diff --git a/package.json b/package.json index e01c7da6..8e4954cc 100644 --- a/package.json +++ b/package.json @@ -25,7 +25,7 @@ "event-source-polyfill": "^1.0.31", "global": "^4.4.0", "jetlinks-store": "^0.0.3", - "jetlinks-ui-components": "^1.0.4", + "jetlinks-ui-components": "^1.0.5", "js-cookie": "^3.0.1", "less": "^4.1.3", "less-loader": "^11.1.0", diff --git a/src/components/Search/History.vue b/src/components/Search/History.vue deleted file mode 100644 index 27c58809..00000000 --- a/src/components/Search/History.vue +++ /dev/null @@ -1,125 +0,0 @@ - - - - - \ No newline at end of file diff --git a/src/components/Search/Item.vue b/src/components/Search/Item.vue deleted file mode 100644 index 0e96f020..00000000 --- a/src/components/Search/Item.vue +++ /dev/null @@ -1,349 +0,0 @@ - - - - - \ No newline at end of file diff --git a/src/components/Search/SaveHistory.vue b/src/components/Search/SaveHistory.vue deleted file mode 100644 index 49c2d091..00000000 --- a/src/components/Search/SaveHistory.vue +++ /dev/null @@ -1,100 +0,0 @@ - - - - - \ No newline at end of file diff --git a/src/components/Search/Search.vue b/src/components/Search/Search.vue index 14d4af0f..1409f2ea 100644 --- a/src/components/Search/Search.vue +++ b/src/components/Search/Search.vue @@ -1,83 +1,21 @@ - \ No newline at end of file diff --git a/src/components/index.ts b/src/components/index.ts index f27cd374..e54a6c26 100644 --- a/src/components/index.ts +++ b/src/components/index.ts @@ -5,7 +5,7 @@ import JTable from './Table/index' import TitleComponent from "./TitleComponent/index.vue"; import Form from './Form'; import CardBox from './CardBox/index.vue'; -// import Search from './Search' +import Search from './Search' import NormalUpload from './NormalUpload/index.vue' import FileFormat from './FileFormat/index.vue' import JProUpload from './JUpload/index.vue' @@ -25,7 +25,7 @@ export default { .component('TitleComponent', TitleComponent) .component('Form', Form) .component('CardBox', CardBox) - // .component('Search', Search) + .component('ProSearch', Search) .component('NormalUpload', NormalUpload) .component('FileFormat', FileFormat) .component('JProUpload', JProUpload) diff --git a/src/router/menu.ts b/src/router/menu.ts index 3ff3bad7..1dfae58c 100644 --- a/src/router/menu.ts +++ b/src/router/menu.ts @@ -8,7 +8,7 @@ export const AccountMenu = { meta: { title: '个人中心', icon: '', - hideInMenu: false + hideInMenu: true }, children: [ { diff --git a/src/store/menu.ts b/src/store/menu.ts index 6851f153..ad8390b8 100644 --- a/src/store/menu.ts +++ b/src/store/menu.ts @@ -37,6 +37,10 @@ type MenuStateType = { } } siderMenus: MenuItem[] + params: { + key: string + params: Record + } } @@ -44,6 +48,10 @@ export const useMenuStore = defineStore({ id: 'menu', state: (): MenuStateType => ({ menus: {}, + params: { + key: '', + params: {} + }, siderMenus: [] }), getters: { diff --git a/src/views/media/Cascade/Channel/BindChannel/index.vue b/src/views/media/Cascade/Channel/BindChannel/index.vue index 2777f1bf..c0d31075 100644 --- a/src/views/media/Cascade/Channel/BindChannel/index.vue +++ b/src/views/media/Cascade/Channel/BindChannel/index.vue @@ -10,7 +10,7 @@ @cancel="_vis = false" :confirmLoading="loading" > -