liwei преди 1 година
родител
ревизия
ab00c38e8b
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      src/modules/resource/index.ts

+ 1 - 1
src/modules/resource/index.ts

@@ -76,7 +76,7 @@ export class ResourceModule extends ModuleRoot {
 
     this.controls.sysImageListCtrl.setCrudPrefix("/sys/source");
     this.controls.sysImageListCtrl.state.size = 20;
-    this.controls.sysImageListCtrl.state.query = { fileType: "image" };
+    this.controls.sysImageListCtrl.state.query = { fileType: "image" , isSvg: {$ne: true}};
 
     this.controls.sysVideoListCtrl.setCrudPrefix("/sys/source");
     this.controls.sysVideoListCtrl.state.size = 20;