forked from github/dataease
fix: 选项卡空标题样式错位
This commit is contained in:
parent
8d1812f8fa
commit
37e396bf73
@ -93,7 +93,7 @@
|
||||
/>
|
||||
<span slot="footer" class="dialog-footer">
|
||||
<el-button @click="dialogVisible = false">{{ $t('table.cancel') }}</el-button>
|
||||
<el-button :disabled="!textarea" type="primary" @click="sureCurTitle">{{ $t('table.confirm') }}</el-button>
|
||||
<el-button :disabled="!titleValid" type="primary" @click="sureCurTitle">{{ $t('table.confirm') }}</el-button>
|
||||
</span>
|
||||
</el-dialog>
|
||||
|
||||
@ -202,6 +202,9 @@ export default {
|
||||
},
|
||||
borderActiveColor() {
|
||||
return this.element && this.element.style && this.element.style.headBorderActiveColor || 'none'
|
||||
},
|
||||
titleValid() {
|
||||
return !!this.textarea && !!this.textarea.trim()
|
||||
}
|
||||
},
|
||||
watch: {
|
||||
|
Loading…
Reference in New Issue
Block a user