|
|
|
@ -4,7 +4,7 @@
|
|
|
|
|
* @Github:
|
|
|
|
|
* @Date: 2019-12-30 13:51:19
|
|
|
|
|
* @LastEditors : tangjiang
|
|
|
|
|
* @LastEditTime : 2020-01-07 15:04:51
|
|
|
|
|
* @LastEditTime : 2020-01-07 15:46:24
|
|
|
|
|
*/
|
|
|
|
|
import './index.scss';
|
|
|
|
|
import React, { useState, useEffect } from 'react';
|
|
|
|
@ -64,10 +64,10 @@ function KnowLedge (props) {
|
|
|
|
|
}
|
|
|
|
|
return item.id !== value;
|
|
|
|
|
});
|
|
|
|
|
if (tempArr.length > 50) {
|
|
|
|
|
if (tempArr.length > 5) {
|
|
|
|
|
notification.warning({
|
|
|
|
|
message: '提示',
|
|
|
|
|
description: '知识点不能超过50个'
|
|
|
|
|
description: '知识点不能超过5个'
|
|
|
|
|
});
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
|