Parcourir la source

修改栏目bug

yu_ber il y a 4 ans
Parent
commit
cbd2fa3065

+ 4 - 4
UI/src/pages/ArticleContentManage/index.js

@@ -201,22 +201,21 @@ class ArticleManage extends React.Component {
   
       var SsoToken = util.auth.getToken();
       const imgUrlMini = returned.articlePhotoaddress;
-      console.log(imgUrlMini,'imgUrlMini--imgUrlMini')
       var imgObj = [{
         uid: '-1',
         url: imgUrlMini+"?Sso-Token="+SsoToken,
       }]
-     console.log(imgUrlMini,'imgUrlMini');
       if (imgUrlMini) {
         this.setState({
           headImgList: imgObj,
+          handImgPath:imgUrlMini
         })
       } else {
         this.setState({
           headImgList: [],
         })
       }
-      console.log(this.state.headImgList)
+
       var typographicTypeList = []
       var checkedList = returned.typographicTypeList
       for (let i = 0; i < checkedList.length; i++) {
@@ -422,7 +421,8 @@ class ArticleManage extends React.Component {
             }
           }
         }
-        console.log(values)
+
+
         let hicColumn = {} //  栏目ID
         hicColumn.columnId = this.state.tagId
         let hicDepa = this.state.selectDepartment   //  科室ID

Fichier diff supprimé car celui-ci est trop grand
+ 199 - 148
UI/src/pages/contentManage/columnManage.js


+ 4 - 0
UI/src/pages/contentManage/columnManage.less

@@ -69,6 +69,10 @@
         border: 1px solid @colorgary;
         padding: 20px;
         position: relative;
+        .header{
+          display:flex;
+          align-items:center;
+        }
      .del_item{
         width: 20px;
         height: 20px;