From 465d8139ea14818b3239ddb69cf3c54ce12ef621 Mon Sep 17 00:00:00 2001 From: Fine Date: Wed, 19 Feb 2025 10:32:08 +0800 Subject: [PATCH] update --- src/components/Graph.vue | 39 +++++++++++-------- .../graphs => }/components/SelectorLegend.vue | 20 +++++----- src/types/components.d.ts | 1 + src/views/dashboard/graphs/Line.vue | 16 ++------ 4 files changed, 36 insertions(+), 40 deletions(-) rename src/{views/dashboard/graphs => }/components/SelectorLegend.vue (73%) diff --git a/src/components/Graph.vue b/src/components/Graph.vue index 3adb42bd..4e27f6c9 100644 --- a/src/components/Graph.vue +++ b/src/components/Graph.vue @@ -13,6 +13,7 @@ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. --> diff --git a/src/types/components.d.ts b/src/types/components.d.ts index 247c6b27..5bb2a8cd 100644 --- a/src/types/components.d.ts +++ b/src/types/components.d.ts @@ -50,6 +50,7 @@ declare module 'vue' { RouterLink: typeof import('vue-router')['RouterLink'] RouterView: typeof import('vue-router')['RouterView'] Selector: typeof import('./../components/Selector.vue')['default'] + SelectorLegend: typeof import('./../components/SelectorLegend.vue')['default'] SelectSingle: typeof import('./../components/SelectSingle.vue')['default'] Tags: typeof import('./../components/Tags.vue')['default'] TimePicker: typeof import('./../components/TimePicker.vue')['default'] diff --git a/src/views/dashboard/graphs/Line.vue b/src/views/dashboard/graphs/Line.vue index 3db40483..59bfba35 100644 --- a/src/views/dashboard/graphs/Line.vue +++ b/src/views/dashboard/graphs/Line.vue @@ -14,13 +14,12 @@ See the License for the specific language governing permissions and limitations under the License. -->