瀏覽代碼

Merge branch 'xqc_1033' into debug

bding 3 周之前
父節點
當前提交
1b09621b65

+ 1 - 1
src/Column/ColumnEditor.tsx

@@ -352,7 +352,7 @@ const ColumnEditor: React.FC<IColumnEditorProps> = props => {
   }
   // 标题
   const handleInputTitle = (e: React.ChangeEvent<HTMLInputElement>) => {
-    setTitle(e.target.value.replace(/\s/g, ''))
+    setTitle(e.target.value)
     setHasModify(true)
   }
   // 关闭预览

+ 1 - 1
src/Column/ColumnModify.tsx

@@ -315,7 +315,7 @@ const ColumnModify: React.FC<IColumnModifyProps> = props => {
   }
   // 标题
   const handleInputTitle = (e: React.ChangeEvent<HTMLInputElement>) => {
-    setTitle(e.target.value.replace(/\s/g, ''))
+    setTitle(e.target.value)
     setHasModify(true)
   }
   // 正文编辑

+ 2 - 2
src/Material/components/NoPermission.tsx

@@ -234,7 +234,7 @@ const NoPermission: React.FC<INoPermissionProps> = props => {
           style={{ margin: '0 auto', padding: 0 }}
         />
       </div>
-      {(specialType === ISpecialType.ResearchArticle ||
+      {/* {(specialType === ISpecialType.ResearchArticle ||
         specialType === ISpecialType.ResearchActivity ||
         specialType === ISpecialType.ResearchSpecial ||
         specialType === ISpecialType.YanxuanSpecial) && (
@@ -284,7 +284,7 @@ const NoPermission: React.FC<INoPermissionProps> = props => {
             <div className="content-p">欢迎联系买方研选,了解更多服务详情,获取试用体验。</div>
           </div>
         </div>
-      )}
+      )} */}
       <ApplyPermission visible={visibleApply} detailID={detailID} tryType={tryType} onCloseModel={handleOKApply} />
     </>
   )

+ 2 - 2
src/Material/components/PayNoPermission.tsx

@@ -299,7 +299,7 @@ const PayNoPermission: React.FC<IPayNoPermissionProps> = props => {
                   <div className="com-fz12 m-t-sm">(仅限机构投资者)</div>
                 </>
               ) : null}
-              <div className="g-inline-block">
+              {/* <div className="g-inline-block">
                 <div className="nopower-bag-wrapper">
                   <img src={BagImg} alt="图片" className="nopower-bag-img" />
                   {(dataInfo as IActivityTypeDetailRes).Detail.IsResearchPoints ? (
@@ -326,7 +326,7 @@ const PayNoPermission: React.FC<IPayNoPermissionProps> = props => {
                     </div>
                   )}
                 </div>
-              </div>
+              </div> */}
             </>
           )}
         </div>