diff --git a/.idea/inspectionProfiles/Project_Default.xml b/.idea/inspectionProfiles/Project_Default.xml new file mode 100644 index 0000000..61743fe --- /dev/null +++ b/.idea/inspectionProfiles/Project_Default.xml @@ -0,0 +1,16 @@ + + + + \ No newline at end of file diff --git a/.idea/vcs.xml b/.idea/vcs.xml new file mode 100644 index 0000000..35eb1dd --- /dev/null +++ b/.idea/vcs.xml @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/.idea/workspace.xml b/.idea/workspace.xml new file mode 100644 index 0000000..dc3d2aa --- /dev/null +++ b/.idea/workspace.xml @@ -0,0 +1,152 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + { + "keyToString": { + "RunOnceActivity.OpenProjectViewOnStart": "true", + "RunOnceActivity.ShowReadmeOnStart": "true", + "WebServerToolWindowFactoryState": "true", + "WebServerToolWindowPanel.toolwindow.highlight.mappings": "true", + "WebServerToolWindowPanel.toolwindow.highlight.symlinks": "true", + "WebServerToolWindowPanel.toolwindow.show.date": "false", + "WebServerToolWindowPanel.toolwindow.show.permissions": "false", + "WebServerToolWindowPanel.toolwindow.show.size": "false", + "last_opened_file_path": "/Users/lizhong/Desktop/workspace/ReptileFront/reptileFront_nuxt/assets/images", + "node.js.detected.package.eslint": "true", + "node.js.detected.package.tslint": "true", + "node.js.selected.package.eslint": "(autodetect)", + "node.js.selected.package.tslint": "(autodetect)", + "nodejs_package_manager_path": "yarn", + "settings.editor.selected.configurable": "reference.settings.ide.settings.file-colors", + "ts.external.directory.path": "/Applications/WebStorm.app/Contents/plugins/javascript-impl/jsLanguageServicesImpl/external", + "vue.rearranger.settings.migration": "true" + } +} + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file + diff --git a/pages/warning.vue b/pages/warning.vue index cb5856d..ad77ebd 100644 --- a/pages/warning.vue +++ b/pages/warning.vue @@ -35,6 +35,7 @@ :pages="pagesRef" @change="onChangePage" /> + @@ -43,7 +44,7 @@ import dayjs from "dayjs"; import {randomUUID} from '~~/utils'; - +import {onClickOutside} from "@vueuse/core"; definePageMeta({ name: '预警信息', headerHost: true, @@ -53,6 +54,9 @@ useHead({ title:'预警信息' }) +onClickOutside(ref, ()=>{ + +}) const { warningApi } = useApi() const {prefixCls} = useDesign('mai-wrap'); const {setTotal, current, total, setCurrentPage, limit, pagesRef} = usePagination(1, 4, 0) diff --git a/utils/http.ts b/utils/http.ts index 862ba2d..5a8dce6 100644 --- a/utils/http.ts +++ b/utils/http.ts @@ -27,6 +27,7 @@ function transform(error: any) { } } +console.log($fetch) /** * api请求封装 * @param { String } url 请求地址