From 7167274dec37208d19c75fe42b516181c0e00c9b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=97=B6=E5=90=AF=E9=BE=99?= Date: Wed, 28 Aug 2024 16:50:02 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E6=96=87=E4=BB=B6=E5=90=8D=E7=A7=B0?= =?UTF-8?q?=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- webs/ams-web/src/services/EnhancedRequestGet.ts | 2 +- webs/ams-web/src/services/index.ts | 2 +- .../src/services/resource/moduleInstance.ts | 2 +- .../src/views/data-collection/history/Example.vue | 7 +++++-- .../src/views/data-collection/history/index.vue | 2 +- .../src/views/data-collection/plugins/List.vue | 2 +- .../src/views/data-collection/plugins/index.vue | 2 +- .../data-collection/task/content/normal/index.vue | 2 +- .../data-collection/task/content/settime/index.vue | 2 +- .../src/views/data-collection/task/index.vue | 2 +- webs/ams-web/src/views/data-link/history/index.vue | 2 +- webs/ams-web/src/views/data-link/rule/index.vue | 2 +- webs/ams-web/src/views/log/index.vue | 2 +- .../src/views/module/attribute-pool/index.vue | 2 +- webs/ams-web/src/views/module/index.vue | 2 +- webs/ams-web/src/views/module/modify/index.vue | 6 ++++-- webs/ams-web/src/views/module/relation/index.vue | 2 +- webs/ams-web/src/views/module/relation/list.vue | 3 ++- webs/ams-web/src/views/module/side/index.vue | 3 ++- webs/ams-web/src/views/resource/menu/List.vue | 3 ++- .../src/views/resource/menu/detail/AuthList.vue | 3 ++- webs/ams-web/src/views/resource/menu/index.vue | 14 +++++++++----- .../src/views/resource/resource-topo/index.vue | 2 +- webs/ams-web/src/views/resource/topo/index.vue | 2 +- .../src/views/{usePostion.ts => usePosition.ts} | 12 ++++-------- 25 files changed, 47 insertions(+), 38 deletions(-) rename webs/ams-web/src/views/{usePostion.ts => usePosition.ts} (69%) diff --git a/webs/ams-web/src/services/EnhancedRequestGet.ts b/webs/ams-web/src/services/EnhancedRequestGet.ts index b7d9d98..106fced 100644 --- a/webs/ams-web/src/services/EnhancedRequestGet.ts +++ b/webs/ams-web/src/services/EnhancedRequestGet.ts @@ -1,5 +1,5 @@ import { request } from '@cmp/cmp-element' -import { getSelectPosition } from '@/views/usePostion' +import { getSelectPosition } from '@/views/usePosition' // 封装原始的 request.get 方法 export default function enhancedRequestGet(url: string, config: any = {}) { diff --git a/webs/ams-web/src/services/index.ts b/webs/ams-web/src/services/index.ts index 50025b2..8d06e10 100644 --- a/webs/ams-web/src/services/index.ts +++ b/webs/ams-web/src/services/index.ts @@ -1,5 +1,5 @@ import { request } from '@cmp/cmp-element' -import { getSelectPosition } from '@/views/usePostion' +import { getSelectPosition } from '@/views/usePosition' export function getValidateRules(type: string) { return request.get('/ams/v1/regexps', { diff --git a/webs/ams-web/src/services/resource/moduleInstance.ts b/webs/ams-web/src/services/resource/moduleInstance.ts index 0dcd030..9d0a08d 100644 --- a/webs/ams-web/src/services/resource/moduleInstance.ts +++ b/webs/ams-web/src/services/resource/moduleInstance.ts @@ -1,5 +1,5 @@ import { request, downloadFile } from '@cmp/cmp-element' -import { getSelectPosition } from '@/views/usePostion' +import { getSelectPosition } from '@/views/usePosition' const baseUrl = '/ams/v1/instances' export function getInstance(params: Base.IListParams) { diff --git a/webs/ams-web/src/views/data-collection/history/Example.vue b/webs/ams-web/src/views/data-collection/history/Example.vue index 91bf3ab..ea7e5ed 100644 --- a/webs/ams-web/src/views/data-collection/history/Example.vue +++ b/webs/ams-web/src/views/data-collection/history/Example.vue @@ -2,12 +2,12 @@
-