Skip to content

Commit

Permalink
202001002
Browse files Browse the repository at this point in the history
2. 修复笔记copy到Lite时不在mobile端显示的问题
  • Loading branch information
TankNee committed Oct 2, 2020
1 parent cf866c8 commit d62c556
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/store/server/actions.js
Original file line number Diff line number Diff line change
Expand Up @@ -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)) {
Expand Down

0 comments on commit d62c556

Please sign in to comment.