future 1 an în urmă
părinte
comite
449fa4fdfe
1 a modificat fișierele cu 2 adăugiri și 4 ștergeri
  1. 2 4
      xs-app/pages/bookshelf/bookshelf-bookList.vue

+ 2 - 4
xs-app/pages/bookshelf/bookshelf-bookList.vue

@@ -17,8 +17,7 @@
 					 {{item.start_read_chapter_id>0?item.start_read_chapter_id:0}}章 / {{item.chapter_count}}章
 				</view>
 				<view class="book-list__item__edit-icon" v-if="is_edit">
-					<uni-icons v-if="edit_book_list.indexOf(item.book_id)==-1" type="circle" size="35"></uni-icons>
-					<uni-icons v-else type="circle-filled" size="35"></uni-icons>
+					<uni-icons :type="edit_book_list.indexOf(item.book_id)==-1?'circle':'circle-filled'" size="35"></uni-icons>
 				</view>
 			</view>
 		</view>
@@ -45,7 +44,7 @@ import { tools } from '../../framework/tools';
 	let is_selected_all = ref(false)
 		
 	const props = defineProps({
-		book_list: Array,
+		book_list: Array<book_item_data>,
 	})
 	const emits = defineEmits(['clickBook','clickDeleteBook'])
 	// watch(()=>props.book_list, (new_v,old_v)=>{
@@ -93,7 +92,6 @@ import { tools } from '../../framework/tools';
 		if(is_selected_all.value) {
 			is_selected_all.value = false
 		} else {
-			console.log('全选')
 			if(props.book_list) {
 				for (let i = 0; i < props.book_list.length; i++) {
 					let element = props.book_list[i]