miaofuhao 1 year ago
parent
commit
3d20372865
1 changed files with 5 additions and 1 deletions
  1. 5 1
      CMS1.0/src/components/page-content/src/page-content.vue

+ 5 - 1
CMS1.0/src/components/page-content/src/page-content.vue

@@ -138,6 +138,10 @@
138 138
         type: String,
139 139
         required: '',
140 140
       },
141
+      isDelete: {
142
+        type: Boolean,
143
+        default: true,
144
+      },
141 145
       isCreate: {
142 146
         type: Boolean,
143 147
         default: true,
@@ -183,8 +187,8 @@
183 187
       const isExport = props.isExport ?? true;
184 188
       const isUpdate = props.isUpdate;
185 189
       const buttons = ref(props.buttons);
190
+      const isDelete = props.isDelete;
186 191
 
187
-      const isDelete = true;
188 192
       const open = ref(false);
189 193
       const data = reactive({ form: {} });
190 194
       const tableRef = ref();