แก้รับค่า systemName จาก query
This commit is contained in:
parent
6c65feb79f
commit
06c76a865c
1 changed files with 7 additions and 1 deletions
|
|
@ -1,9 +1,11 @@
|
|||
<script setup lang="ts">
|
||||
import { cloneVNode, ref } from "vue";
|
||||
import { cloneVNode, onMounted, ref } from "vue";
|
||||
import type { QTableProps } from "quasar";
|
||||
import { useCounterMixin } from "@/stores/mixin";
|
||||
import { useDataStore } from "@/modules/03_logs/stores/main";
|
||||
import { storeToRefs } from "pinia";
|
||||
import { useRoute } from "vue-router";
|
||||
const route = useRoute();
|
||||
|
||||
/** importStore*/
|
||||
const storeData = useDataStore();
|
||||
|
|
@ -149,6 +151,10 @@ function selectedDate() {
|
|||
true
|
||||
);
|
||||
}
|
||||
|
||||
onMounted(() => {
|
||||
systemName.value = route.query.system as string;
|
||||
});
|
||||
</script>
|
||||
|
||||
<template>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue