Merge pull request #5346 from dataease/pr@dev_st_fix

Pr@dev st fix
This commit is contained in:
dataeaseShu 2023-05-29 11:43:44 +08:00 committed by GitHub
commit cba659fa71
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 4 additions and 6 deletions

View File

@ -164,7 +164,7 @@
@click="typeSwitch(ele)"
>
<span
:title="ele.remark"
:title="`${ele.name}${ele.remark ? ':' + ele.remark : ''}`"
class="name"
>{{ ele.name }}</span>
<i
@ -187,7 +187,7 @@
class="table-or-field field"
>
<span
:title="ele.remarks"
:title="`${ele.fieldName}${ele.remark ? ':' + ele.remark : ''}`"
class="name"
>{{ ele.fieldName }}</span>
<i

View File

@ -220,7 +220,6 @@ export default {
this.dataRange = []
this.activeDataset = []
this.selectDatasets = ''
this.datasetCache = []
this.selectDatasetsCache = []
this.$refs.datasetTreeRef.filter()
this.$emit('search', [], [])
@ -272,7 +271,7 @@ export default {
if (this.activeDataset.length) {
const str = `${this.$t('dataset.datalist')}:${this.activeDataset.reduce(
(pre, next) =>
(this.datasetCache.find((ele) => ele.id === next) || {}).name +
(this.selectDatasetsCache.find((ele) => ele.id === next) || {}).name +
'、' +
pre,
''

View File

@ -221,7 +221,6 @@ export default {
this.dataRange = []
this.activeDataset = []
this.selectDatasets = ''
this.datasetCache = []
this.selectDatasetsCache = []
this.$refs.datasetTreeRef.filter()
this.$emit('search', [], [])
@ -270,7 +269,7 @@ export default {
if (this.activeDataset.length) {
const str = `${this.$t('dataset.datalist')}:${this.activeDataset.reduce(
(pre, next) =>
(this.datasetCache.find((ele) => ele.id === next) || {}).name +
(this.selectDatasetsCache.find((ele) => ele.id === next) || {}).name +
'、' +
pre,
''