From e90f9a931aa91e523e2b79956f6075c61ad551b5 Mon Sep 17 00:00:00 2001 From: jmal Date: Mon, 24 Aug 2020 10:38:39 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E8=AF=A5=EF=BC=9A'.md'=E6=96=87?= =?UTF-8?q?=E4=BB=B6=E7=B1=BB=E5=9E=8B=E6=94=AF=E6=8C=81=E7=BC=96=E8=BE=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/ShowFile/ShowFile.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/ShowFile/ShowFile.vue b/src/components/ShowFile/ShowFile.vue index dc849a5..276b61e 100644 --- a/src/components/ShowFile/ShowFile.vue +++ b/src/components/ShowFile/ShowFile.vue @@ -2110,7 +2110,7 @@ this.$refs.fileListTable.clearSelection() this.$refs.fileListTable.toggleRowSelection([{row:row}]) this.menusIsMultiple = false - if(row.contentType && row.contentType.includes("text")){ + if(row.suffix && row.suffix.includes("md")){ this.menus = this.singleMenusEdit }else{ this.menus = this.singleMenus