forked from github/dataease
Merge pull request #9536 from dataease/pr@dev@fix_formatter_cfg_edit
Pr@dev@fix formatter cfg edit
This commit is contained in:
commit
a3082b9323
@ -3715,7 +3715,7 @@ export default {
|
||||
this.showValueFormatter = false
|
||||
},
|
||||
saveValueFormatter() {
|
||||
const formatterItem = _.cloneDeep(this.valueFormatterItem)
|
||||
const formatterItem = JSON.parse(JSON.stringify(this.valueFormatterItem))
|
||||
const formatterCfg = formatterItem.formatterCfg
|
||||
const ele = formatterCfg.decimalCount
|
||||
if (ele === undefined || ele.toString().indexOf('.') > -1 || parseInt(ele).toString() === 'NaN' || parseInt(ele) < 0 || parseInt(ele) > 10) {
|
||||
|
@ -16,7 +16,10 @@
|
||||
class="drill-item"
|
||||
@click.native="drillJump(index + 1)"
|
||||
>
|
||||
<span :style="{'color': textColor}">{{ filter.value[0] }}</span>
|
||||
<span
|
||||
:style="{'color': textColor}"
|
||||
:title="filter.value[0]"
|
||||
>{{ filter.value[0] }}</span>
|
||||
</el-breadcrumb-item>
|
||||
</el-breadcrumb>
|
||||
</div>
|
||||
@ -97,6 +100,8 @@ export default {
|
||||
margin: 0!important;
|
||||
}
|
||||
.drill-item{
|
||||
max-width: 120px;
|
||||
overflow: hidden;
|
||||
cursor: pointer;
|
||||
}
|
||||
</style>
|
||||
|
Loading…
Reference in New Issue
Block a user