From 558d302e4ce88d1be0bce61d477b1923a2c1f0b0 Mon Sep 17 00:00:00 2001 From: litthy Date: Thu, 7 Dec 2023 15:26:18 +0800 Subject: [PATCH] fix: to edit --- package.json | 4 ++-- src/components/face/tabs.vue | 4 ++-- src/components/manufacture/MyList.vue | 2 +- src/components/manufacture/Plan.vue | 2 +- src/service/plan.js | 4 ++-- src/views/body/List.vue | 2 +- src/views/face/Single.vue | 2 +- src/views/price/goods/myGoodsDialog.vue | 2 +- 8 files changed, 11 insertions(+), 11 deletions(-) diff --git a/package.json b/package.json index 71bd693c0..bcad56b12 100644 --- a/package.json +++ b/package.json @@ -13,10 +13,10 @@ }, "dependencies": { "@jx3box/jx3box-comment-ui": "^1.8.1", - "@jx3box/jx3box-common": "^8.0.8", + "@jx3box/jx3box-common": "^8.0.9", "@jx3box/jx3box-common-ui": "^7.9.11", "@jx3box/jx3box-data": "^3.5.6", - "@jx3box/jx3box-editor": "^2.0.7", + "@jx3box/jx3box-editor": "^2.0.8", "@jx3box/jx3box-emotion": "^1.1.5", "@jx3box/jx3box-facedat": "^2.5.4", "@jx3box/jx3box-map": "^0.2.0", diff --git a/src/components/face/tabs.vue b/src/components/face/tabs.vue index e9c114b26..c6f5a7935 100644 --- a/src/components/face/tabs.vue +++ b/src/components/face/tabs.vue @@ -10,7 +10,7 @@
- 发布脸型 + 发布作品
@@ -136,7 +136,7 @@
- 发布脸型 + 发布作品
diff --git a/src/components/manufacture/MyList.vue b/src/components/manufacture/MyList.vue index d05e4a41e..98257e934 100644 --- a/src/components/manufacture/MyList.vue +++ b/src/components/manufacture/MyList.vue @@ -38,7 +38,7 @@ export default { components: { Plan }, methods: { load() { - getMyPlans({ no_page: true }).then((res) => { + getMyPlans().then((res) => { this.list = res.reverse() || []; }); }, diff --git a/src/components/manufacture/Plan.vue b/src/components/manufacture/Plan.vue index f34543c44..e1faefad8 100644 --- a/src/components/manufacture/Plan.vue +++ b/src/components/manufacture/Plan.vue @@ -237,7 +237,7 @@ export default { }, // 编辑清单跳转 editLink({ id }) { - return __Root + "item/plan_view/" + id; + return __Root + "item/plan_edit/" + id; }, close() { Bus.$emit("update"); diff --git a/src/service/plan.js b/src/service/plan.js index 74bfc012c..24293fd83 100644 --- a/src/service/plan.js +++ b/src/service/plan.js @@ -31,9 +31,9 @@ function searchItemsID(params) { }); } // 获取我的清单 -function getMyPlans(params) { +function getMyPlans() { return $cms() - .get(`/api/cms/app/item-plan/mine`, { params }) + .get(`/api/cms/app/item-plan/mine`, { params: { no_page: 1, _no_cache: 1 } }) .then((res) => { return res.data.data; }); diff --git a/src/views/body/List.vue b/src/views/body/List.vue index 184aa7eb3..5a20c9183 100644 --- a/src/views/body/List.vue +++ b/src/views/body/List.vue @@ -12,7 +12,7 @@

{{ nameMap[_list.key] }} - 查看全部 + 查看全部

diff --git a/src/views/face/Single.vue b/src/views/face/Single.vue index b32b54418..8c593973d 100644 --- a/src/views/face/Single.vue +++ b/src/views/face/Single.vue @@ -10,7 +10,7 @@
- 发布脸型 + 发布作品
diff --git a/src/views/price/goods/myGoodsDialog.vue b/src/views/price/goods/myGoodsDialog.vue index 89bc9260f..30443c36b 100644 --- a/src/views/price/goods/myGoodsDialog.vue +++ b/src/views/price/goods/myGoodsDialog.vue @@ -43,7 +43,7 @@ export default { }, getPlanList() { this.loading = true; - getMyPlans({ no_page: true }).then((res) => { + getMyPlans().then((res) => { this.loading = false; this.myPlanList = res.reverse() || []; this.myPlanList.forEach((item) => {