Commit 64060128 by xinla

客户标签管理问题

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