소스 검색

提交提交

xia 4 년 전
부모
커밋
53f2d23a83
3개의 변경된 파일10개의 추가작업 그리고 7개의 파일을 삭제
  1. 2 2
      src/api/config.js
  2. 2 2
      src/manifest.json
  3. 6 3
      src/views/Shelf/index.ux

+ 2 - 2
src/api/config.js

@@ -6,8 +6,8 @@
  * @Description: api配置文件
  */
 const apiConfig = {
-   //baseURL: "https://quickapp.leyuee.com/api",
-   baseURL: "https://quickapptest.leyuee.com/api",
+   baseURL: "https://quickapp.leyuee.com/api",
+   //baseURL: "https://quickapptest.leyuee.com/api",
     package:'com.beidao.kuaiying.zsy'
 };
 

+ 2 - 2
src/manifest.json

@@ -1,8 +1,8 @@
 {
   "package": "com.beidao.kuaiying.zsy",
   "name": "追书云",
-  "versionName": "1.0.23",
-  "versionCode": "24",
+  "versionName": "1.0.25",
+  "versionCode": "26",
   "minPlatformVersion": "1040",
   "icon": "/assets/imgs/logo.png",
   "features": [

+ 6 - 3
src/views/Shelf/index.ux

@@ -108,8 +108,11 @@ export default {
       this.getUserShelfBooks()
     }
   },
-  getUserShelfBooks() {
+  getUserShelfBooks(isDel = false) {
     getReadrecord().then(r => {
+      if(!isDel){
+        this.isDelMode = false;
+      }
       r.map(m => {
         m.cover_url = m.cover
         m.recent_cid = m.cid
@@ -122,8 +125,8 @@ export default {
     })
   },
   deleteBook(book) {
-    deleteShelfBook({ bid: book.bid }).then(r => {
-      this.getUserShelfBooks()
+    deleteShelfBook({ bid: book.book_id }).then(r => {
+      this.getUserShelfBooks(true)
     })
   },
   changeMode() {