dev_static
tangjiang 6 years ago
parent 3c55f09a92
commit 3104cb2dda

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

Loading…
Cancel
Save