fix the snapshot charts

This commit is contained in:
Fine 2025-06-18 16:25:47 +08:00
parent 35a1ff9b24
commit cb3cf9e88b

View File

@ -13,11 +13,9 @@ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and See the License for the specific language governing permissions and
limitations under the License. --> limitations under the License. -->
<template> <template>
<LineChart <div :style="{ width: `800px`, height: `${metrics.length * 300}px` }">
:intervalTime="appStore.intervalTime" <LineChart :intervalTime="appStore.intervalTime" :data="metrics" />
:data="metrics" </div>
:style="{ width: `800px`, height: `${metrics.length * 300}px` }"
/>
</template> </template>
<script lang="ts" setup> <script lang="ts" setup>
import { computed } from "vue"; import { computed } from "vue";