Commit 2499826b by guomingpang

style:修改外部课程,课程分类搜索框样式

parent e203f497
......@@ -2,7 +2,7 @@
* @Author: 吴文洁
* @Date: 2020-08-05 10:11:57
* @LastEditors: fusanqiasng
* @LastEditTime: 2021-05-28 16:18:56
* @LastEditTime: 2021-05-28 20:14:37
* @Description: 视频课-搜索模块
* @Copyright: 杭州杰竞科技有限公司 版权所有
*/
......@@ -268,8 +268,8 @@ class VideoCourseFilter extends React.Component {
treeNodeFilterProp='categoryName'
showSearch
value={categoryId || null}
style={{ width: 'calc(100% - 75px)' }}
dropdownStyle={{ maxHeight: 400, overflow: 'auto' }}
style={{ minWidth: 'calc(100% - 75px)' }}
dropdownMatchSelectWidth={false}
treeData={categoryList}
placeholder='请选择课程分类'
allowClear
......
......@@ -3,7 +3,7 @@
* @Author: zangsuyun
* @Date: 2021-03-13 09:54:26
* @LastEditors: fusanqiasng
* @LastEditTime: 2021-05-28 15:35:33
* @LastEditTime: 2021-05-28 20:19:06
* @Copyright: © 2020 杭州杰竞科技有限公司 版权所有
*/
......@@ -890,7 +890,8 @@ class AddCourse extends React.Component {
<TreeSelect
treeNodeFilterProp='categoryName'
showSearch
style={{ width: 'calc(100% - 75px)' }}
style={{ minWidth: 'calc(100% - 75px)' }}
dropdownMatchSelectWidth={false}
dropdownStyle={{ maxHeight: 400, overflow: 'auto' }}
treeData={videoCourseDivision === 'internal' ? categoryList : categoryListExternal}
placeholder='请选择课程类型'
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment