From 13ea04d5d9ab7f7bb269c97e2cac9a556ed9f765 Mon Sep 17 00:00:00 2001 From: jmal Date: Wed, 4 Jan 2023 11:59:57 +0800 Subject: [PATCH] =?UTF-8?q?:art:=20=E4=BC=98=E5=8C=96=E6=96=87=E7=AB=A0?= =?UTF-8?q?=E7=BC=96=E8=BE=91=E7=95=8C=E9=9D=A2=E6=B7=BB=E5=8A=A0=E6=A0=87?= =?UTF-8?q?=E7=AD=BE=E7=9A=84=E4=BD=93=E9=AA=8C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/markdown/index.vue | 24 +++--------------------- 1 file changed, 3 insertions(+), 21 deletions(-) diff --git a/src/views/markdown/index.vue b/src/views/markdown/index.vue index aecbabe..2c02761 100644 --- a/src/views/markdown/index.vue +++ b/src/views/markdown/index.vue @@ -77,7 +77,8 @@ ref="saveTagInput" size="small" :fetch-suggestions="querySearch" - :popper-append-to-body="false" + :popper-append-to-body="true" + :trigger-on-focus="false" @select="handleSelect" placeholder="请输入标签名" @keyup.enter.native="handleInputConfirm" @@ -337,7 +338,7 @@ export default { that.inputValueExist = false that.inputVisible = false that.inputValue = '' - }, 100) + }, 250) }, vditorInit(content) { this.contentEditor = new Vditor('vditor', { @@ -649,25 +650,6 @@ export default { margin-left: 8px; } ->>> .el-autocomplete-suggestion { - li { - padding: 0; - background-color: #ecf5ff; - color: #409eff; - border: 1px solid #d9ecff; - border-radius: 4px; - box-sizing: border-box; - white-space: nowrap; - margin: 2px 4px; - text-align: center; - } - - li:hover { - background-color: #3f9eff; - color: #fafdff; - } -} - >>> .el-autocomplete-suggestion__wrap { padding: 2px 0; }