fix : 时间选择器历史记录绑定修改

This commit is contained in:
zhangxiaolong
2022-04-13 17:09:59 +08:00
parent 081677e7dc
commit 52fbff49e2
7 changed files with 22 additions and 13 deletions

View File

@@ -13,7 +13,7 @@
<template v-slot:title><span :title="obj.name">{{obj.name}}</span></template>
<template v-slot:top-tool-right>
<div v-if="from === fromRoute.asset" style="display: flex">
<pick-time ref="pickTime" v-model="searchTime" :refresh-data-func="dateChange" :use-chart-unit="false"></pick-time>
<pick-time ref="pickTime" v-model="searchTime" :refresh-data-func="dateChange" :use-chart-unit="false" :sign="sign"></pick-time>
<button id="panel-add-chart" v-has="'main_add'" :title="$t('overall.createChart')" class="top-tool-btn margin-r-10"
type="button" @click="addChart">
<i class="nz-icon-create-square nz-icon"></i>
@@ -163,7 +163,8 @@ export default {
paramsType: {
type: String,
default: 'dashboard'
}
},
sign:[Number,String]
},
computed: {
chartRightBoxShow () {