瀏覽代碼

replace method

yusuketk 7 年之前
父節點
當前提交
43bd19bf54
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/client/js/components/Page/EditTagModal.jsx

+ 1 - 1
src/client/js/components/Page/EditTagModal.jsx

@@ -82,7 +82,7 @@ export default class EditTagModal extends React.Component {
           placement="bottom"
           overlay={(
             <Tooltip id="tooltip-bottom">
-              {this.state.currentPageTags.map((tag) => { return `${tag}\t` })}
+              {this.state.currentPageTags.join()}
             </Tooltip>
           )}
         >