Explorar el Código

系统配置默认默认配置不可删除

wangwei hace 3 años
padre
commit
6290eb2952
Se han modificado 1 ficheros con 3 adiciones y 0 borrados
  1. 3 0
      src/views/general/config/index.vue

+ 3 - 0
src/views/general/config/index.vue

@@ -221,6 +221,9 @@
       }
 
       function createActions(record: EditRecordRow): ActionItem[] {
+        if (record.id <= 9) {
+          return [];
+        }
         return [
           {
             label: '',