Commit 810f03c4 by zangsuyun

fix:资料云盘类型筛选

parent 7698fcaa
......@@ -3,7 +3,7 @@
* @Author: zangsuyun
* @Date: 2021-03-19 18:05:23
* @LastEditors: zangsuyun
* @LastEditTime: 2021-03-29 16:33:46
* @LastEditTime: 2021-04-01 11:59:56
* @Copyright: © 2020 杭州杰竞科技有限公司 版权所有
*/
......@@ -31,11 +31,6 @@ class Classification extends Component {
componentDidMount() {
this.queryCategoryTree();
// this.props.getSelectedCategoryId(
// getParameterByName("categoryId")
// ? [getParameterByName("categoryId")]
// : 0
// );
}
shouldComponentUpdate = (nextProps, nextState) => {
......
......@@ -3,7 +3,7 @@
* @Author: zangsuyun
* @Date: 2021-03-12 14:25:52
* @LastEditors: zangsuyun
* @LastEditTime: 2021-03-31 10:23:05
* @LastEditTime: 2021-04-01 16:14:29
* @Copyright: © 2020 杭州杰竞科技有限公司 版权所有
*/
......@@ -76,6 +76,7 @@ export default function KnowledgeBaseOpt({
isOpen={true}
accept=".ppt,.pptx,.doc,.docx,.pdf,.jpg,.jpeg,.png,.xlsx,.xls"
tooltip="支持文件类型:ppt、word、excel、pdf、jpg、jpeg、png"
selectTypeList={["JPG", "JPEG", "PNG",'DOC','PDF','EXCEL']} // DOC 包含 .ppt,.pptx,.doc,.docx,.xls
onClose={() => {
setModal(null);
}}
......
......@@ -55,12 +55,6 @@ class LiveList extends React.Component {
};
}
// static getDerivedStateFromProps(props, state) {
// //在getDerivedStateFromProps里不能使用this
// console.log(props);
// return props;
// }
componentDidUpdate(prevProps, prevState) {
//必须写在if里面并且重新进行一次this.props !== prevProps的判断
if (
......
......@@ -3,7 +3,7 @@
* @Author: zangsuyun
* @Date: 2021-03-13 11:48:24
* @LastEditors: zangsuyun
* @LastEditTime: 2021-03-16 15:35:47
* @LastEditTime: 2021-04-01 11:58:46
* @Copyright: © 2020 杭州杰竞科技有限公司 版权所有
*/
......@@ -38,12 +38,6 @@ class VideoList extends React.Component {
};
}
// static getDerivedStateFromProps(props, state) {
// //在getDerivedStateFromProps里不能使用this
// console.log(props);
// return props;
// }
componentDidUpdate(prevProps, prevState) {
//必须写在if里面并且重新进行一次this.props !== prevProps的判断
if (
......
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