mirror of
https://github.com/haiwen/seahub.git
synced 2025-09-26 15:26:19 +00:00
test pro env 3
This commit is contained in:
@@ -1714,6 +1714,7 @@ class LibContentView extends React.Component {
|
|||||||
};
|
};
|
||||||
|
|
||||||
onFileUploadSuccess = (direntObject) => {
|
onFileUploadSuccess = (direntObject) => {
|
||||||
|
console.log(this.state.direntList);
|
||||||
const isExist = this.state.direntList.some(item => item.name === direntObject.name && item.type === direntObject.type);
|
const isExist = this.state.direntList.some(item => item.name === direntObject.name && item.type === direntObject.type);
|
||||||
console.log('dev test: ', isExist);
|
console.log('dev test: ', isExist);
|
||||||
if (isExist) {
|
if (isExist) {
|
||||||
|
Reference in New Issue
Block a user