fix: 修正部分模板页面卡片组件操作插槽用法 (#587)

This commit is contained in:
ngyyuusora 2023-08-14 15:02:31 +08:00 committed by GitHub
parent 1ce4f1c4bd
commit 6499532cad
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 3 deletions

View File

@ -2,7 +2,7 @@
<t-row :gutter="16" class="row-container"> <t-row :gutter="16" class="row-container">
<t-col :xs="12" :xl="9"> <t-col :xs="12" :xl="9">
<t-card title="统计数据" :subtitle="`(万元)${currentMonth}`" class="dashboard-chart-card" :bordered="false"> <t-card title="统计数据" :subtitle="`(万元)${currentMonth}`" class="dashboard-chart-card" :bordered="false">
<template #option> <template #actions>
<div class="dashboard-chart-title-container"> <div class="dashboard-chart-title-container">
<t-date-range-picker <t-date-range-picker
class="card-date-picker-container" class="card-date-picker-container"

View File

@ -31,7 +31,7 @@
<!-- 产品目录 --> <!-- 产品目录 -->
<t-card title="产品目录" class="container-base-margin-top" :bordered="false"> <t-card title="产品目录" class="container-base-margin-top" :bordered="false">
<template #option> <template #actions>
<t-radio-group default-value="dateVal"> <t-radio-group default-value="dateVal">
<t-radio-button value="dateVal"> 季度 </t-radio-button> <t-radio-button value="dateVal"> 季度 </t-radio-button>
<t-radio-button value="monthVal"> 月份 </t-radio-button> <t-radio-button value="monthVal"> 月份 </t-radio-button>

View File

@ -10,7 +10,7 @@
</t-col> </t-col>
<t-col :lg="6" :xs="12"> <t-col :lg="6" :xs="12">
<t-card title="告警情况" :bordered="false"> <t-card title="告警情况" :bordered="false">
<template #option> <template #actions>
<t-radio-group default-value="dateVal" @change="onAlertChange"> <t-radio-group default-value="dateVal" @change="onAlertChange">
<t-radio-button value="dateVal"> 本周 </t-radio-button> <t-radio-button value="dateVal"> 本周 </t-radio-button>
<t-radio-button value="monthVal"> 本月 </t-radio-button> <t-radio-button value="monthVal"> 本月 </t-radio-button>