perf:时间选择器易名

This commit is contained in:
wangwenrui
2020-04-24 12:42:58 +08:00
parent a74795ff2a
commit bb3f6f21ed
3 changed files with 4 additions and 4 deletions

View File

@@ -18,9 +18,9 @@
:class="{'nz-btn-disabled btn-disabled-cursor-not-allowed' : saveDisabled}"> :class="{'nz-btn-disabled btn-disabled-cursor-not-allowed' : saveDisabled}">
{{$t('dashboard.metric.saveChart')}} {{$t('dashboard.metric.saveChart')}}
</button> </button>
<interval-refresh :refresh-data-func="expressionChange" v-model="filterTime"> <pick-time :refresh-data-func="expressionChange" v-model="filterTime">
<template slot="added-text">{{$t('dashboard.metricPreview.runQuery')}}</template> <template slot="added-text">{{$t('dashboard.metricPreview.runQuery')}}</template>
</interval-refresh> </pick-time>
</div> </div>
<div style="height: 100%;width: 100%;" > <div style="height: 100%;width: 100%;" >
<el-scrollbar style="height: 100%" class="el-scrollbar-large"> <el-scrollbar style="height: 100%" class="el-scrollbar-large">

View File

@@ -46,7 +46,7 @@ import "perfect-scrollbar/css/perfect-scrollbar.css";
import loading from "./components/common/loading"; import loading from "./components/common/loading";
import mibBox from "./components/common/rightBox/mibBox"; import mibBox from "./components/common/rightBox/mibBox";
import leftMenu from "./components/common/leftMenu"; import leftMenu from "./components/common/leftMenu";
import intervalRefresh from "./components/common/intervalRefresh"; import pickTime from "./components/common/pickTime";
Vue.component("Pagination", Pagination); Vue.component("Pagination", Pagination);
Vue.component("searchInput", searchInput); Vue.component("searchInput", searchInput);
@@ -70,7 +70,7 @@ Vue.component('loading',loading);
Vue.component('bottom-box', bottomBox); Vue.component('bottom-box', bottomBox);
Vue.component('mib-box',mibBox); Vue.component('mib-box',mibBox);
Vue.component('left-menu',leftMenu); Vue.component('left-menu',leftMenu);
Vue.component('interval-refresh',intervalRefresh); Vue.component('pick-time',pickTime);
Vue.prototype.$axios = axios; Vue.prototype.$axios = axios;
Vue.prototype.$post = post; Vue.prototype.$post = post;