From d62c5561ef7e69eafef4019749456cf903c2289d Mon Sep 17 00:00:00 2001 From: tanknee Date: Fri, 2 Oct 2020 18:55:38 +0800 Subject: [PATCH] =?UTF-8?q?202001002=202.=20=E4=BF=AE=E5=A4=8D=E7=AC=94?= =?UTF-8?q?=E8=AE=B0copy=E5=88=B0Lite=E6=97=B6=E4=B8=8D=E5=9C=A8mobile?= =?UTF-8?q?=E7=AB=AF=E6=98=BE=E7=A4=BA=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/store/server/actions.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/store/server/actions.js b/src/store/server/actions.js index 1c334da..3c32bb9 100644 --- a/src/store/server/actions.js +++ b/src/store/server/actions.js @@ -364,7 +364,7 @@ export default { title: isCurrentCategory ? `${title.replace(/\.md/, '')}-${i18n.t('duplicate')}${title.indexOf('.md') !== -1 ? '.md' : ''}` : title, owner: userId, html, - type: category === 'Lite' ? 'lite/markdown' : type + type: category === '/Lite/' ? 'lite/markdown' : type } }) if (isCurrentCategory || helper.isNullOrEmpty(currentCategory)) {