diff --git a/src/components/deskModule/SearchBox/index.vue b/src/components/deskModule/SearchBox/index.vue index 35e1182..549a85a 100644 --- a/src/components/deskModule/SearchBox/index.vue +++ b/src/components/deskModule/SearchBox/index.vue @@ -51,7 +51,7 @@ const defaultSearchEngineList = ref([ ]) const defaultState: State = { - currentSearchEngine: defaultSearchEngineList.value[0], + currentSearchEngine: defaultSearchEngineList.value[1], searchEngineList: [] || defaultSearchEngineList, newWindowOpen: false, } @@ -68,7 +68,7 @@ const onBlur = (): void => { function handleEngineClick() { // 访客模式不允许修改 - if (authStore.visitMode === VisitMode.VISIT_MODE_PUBLIC) + if (authStore.visitMode === VisitMode.VISIT_MODE_PUBLIC &&authStore.userInfo?.role!=1) return searchSelectListShow.value = !searchSelectListShow.value }