Merge pull request #6515 from dataease/pr@dev-v2@fix_panel-tips

refactor: 社区版仪表板无需展示创建者
This commit is contained in:
王嘉豪 2023-11-02 15:15:47 +08:00 committed by GitHub
commit d09588f19d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,11 +1,11 @@
<template>
<div class="info-card">
<div class="info-title">{{ t('visualization.create_by') }}</div>
<div class="info-content">{{ dvInfo.creatorName || 'N/A' }}</div>
<div v-if="dvInfo.creatorName" class="info-title">{{ t('visualization.create_by') }}</div>
<div v-if="dvInfo.creatorName" class="info-content">{{ dvInfo.creatorName }}</div>
<div class="info-title">{{ t('visualization.create_time') }}</div>
<div class="info-content">{{ timestampFormatDate(dvInfo.createTime) }}</div>
<div class="info-title">{{ t('visualization.update_by') }}</div>
<div class="info-content">{{ dvInfo.updateName || 'N/A' }}</div>
<div v-if="dvInfo.updateName" class="info-title">{{ t('visualization.update_by') }}</div>
<div v-if="dvInfo.updateName" class="info-content">{{ dvInfo.updateName }}</div>
<div class="info-title">{{ t('visualization.update_time') }}</div>
<div v-if="dvInfo.updateTime" class="info-content">
{{ timestampFormatDate(dvInfo.updateTime) }}