bill 4 ay önce
ebeveyn
işleme
301d686e2f
1 değiştirilmiş dosya ile 1 ekleme ve 2 silme
  1. 1 2
      src/components/materials/index.vue

+ 1 - 2
src/components/materials/index.vue

@@ -77,7 +77,6 @@
             </template>
             <template v-else-if="column.key === 'action'">
               <span v-if="record.useType !== 'animation'">
-              
                 <a @click="delHandler(record.id)">删除</a>
               </span>
             </template>
@@ -276,7 +275,7 @@ const okHandler = () => {
 const handleTableChange: TableProps["onChange"] = (pag, filters) => {
   params.pageSize = pag.pageSize!;
   params.pageNum = pag.current!;
-  params.groupIds = filters.group as number[];
+  params.groupIds = (filters.group || props.groupIds) as number[];
 };
 </script>