Explanation
If the file to be registered violates a predefined filter, the object is blocked.
When the total file size limit is 10MB, the file to be added is 8MB, 1MB, 3MB, or 4MB. If the file is 8MB or 1MB, it queries whether to register two files. If the setFilterSilence is set to true, all files are blocked without a query.
var dx = dx5.get("component-id");
// If there are filtered targets, all remaining items are also blocked.
var filtered = dx.setFilterSilence(true);
Example
|
|