Commit 64060128 by xinla

客户标签管理问题

1 parent aeab6c1b
...@@ -105,7 +105,7 @@ if (h) { ...@@ -105,7 +105,7 @@ if (h) {
// el-button点击后自动失焦 去除焦点样式 // el-button点击后自动失焦 去除焦点样式
document.addEventListener('click', (event) => { document.addEventListener('click', (event) => {
let target = event.target let target = event.target
if (target.className.includes('el-button')) { if (target.className.includes?.('el-button')) {
target.blur() target.blur()
} else if (target.parentNode.className.includes('el-button')) { } else if (target.parentNode.className.includes('el-button')) {
target.parentNode.blur() target.parentNode.blur()
......
...@@ -284,10 +284,10 @@ export default { ...@@ -284,10 +284,10 @@ export default {
if (hasErrorTag.length > 0) { if (hasErrorTag.length > 0) {
this.$notify({ this.$notify({
// title: '标题名称', // title: '标题名称',
message: this.$createElement( message: h(
'i', 'div',
{ style: 'color: red' }, { style: 'color: red;word-break:break-all' },
'已有标签[' + hasErrorTag + ']不在标签库中,已被删除或存在异常', '已有标签 [ ' + hasErrorTag + ' ] 不在标签库中,已被删除或存在异常',
), ),
type: 'warning', type: 'warning',
customClass: 'mzindex', customClass: 'mzindex',
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!