From eab9039bd99eb3459538921a1e60f6ccd894e85c Mon Sep 17 00:00:00 2001 From: xuechunyuan <17853500702@163.com> Date: Fri, 24 Feb 2023 17:34:11 +0800 Subject: [PATCH] =?UTF-8?q?=E9=A1=BB=E7=9F=A5=E5=88=97=E8=A1=A8=E5=9B=9E?= =?UTF-8?q?=E6=98=BEhtml=E6=98=BE=E7=A4=BA=E6=A8=A1=E5=BC=8F=EF=BC=8C?= =?UTF-8?q?=E9=A2=84=E7=BA=A6=E6=9F=A5=E8=AF=A2=E6=90=9C=E7=B4=A2=E6=97=A5?= =?UTF-8?q?=E6=9C=9F=E5=8E=BB=E6=8E=89=E6=97=B6=E5=88=86=E7=A7=92?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/articlelist/index.vue | 3 ++- src/views/booklist/index.vue | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/views/articlelist/index.vue b/src/views/articlelist/index.vue index 17b6aaa..96d1729 100644 --- a/src/views/articlelist/index.vue +++ b/src/views/articlelist/index.vue @@ -109,8 +109,9 @@ export default { }, minRows: 12, span: 24, + html: true, formatter: (val) => { - return decodeURIComponent(val.content); + return '
'+decodeURIComponent(val.content)+'
'; } }, { diff --git a/src/views/booklist/index.vue b/src/views/booklist/index.vue index 9772159..9a340f0 100644 --- a/src/views/booklist/index.vue +++ b/src/views/booklist/index.vue @@ -431,7 +431,7 @@ export default { valueFormat: "yyyy-MM-dd", search: true, hide: true, - searchValue:dateFormat(new Date()), + searchValue: dateFormat(new Date(),'yyyy-MM-dd'), searchClearable: false, }, {