Skip to content

Commit

Permalink
fix: to edit
Browse files Browse the repository at this point in the history
  • Loading branch information
zixuan1986 committed Dec 7, 2023
1 parent bc0776e commit 558d302
Show file tree
Hide file tree
Showing 8 changed files with 11 additions and 11 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
4 changes: 2 additions & 2 deletions src/components/face/tabs.vue
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
<a :href="publish_link(link.key)" target="_blank">
<div class="u-face-publish">
<img svg-inline src="@/assets/img/face/face-publish.svg" class="u-img" />
<span>发布脸型</span>
<span>发布作品</span>
</div>
</a>
</div>
Expand Down Expand Up @@ -136,7 +136,7 @@
<a :href="publish_link(link.key)" target="_blank">
<div class="u-face-publish">
<img svg-inline src="@/assets/img/face/face-publish.svg" class="u-img" />
<span>发布脸型</span>
<span>发布作品</span>
</div>
</a>
</template>
Expand Down
2 changes: 1 addition & 1 deletion src/components/manufacture/MyList.vue
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ export default {
components: { Plan },
methods: {
load() {
getMyPlans({ no_page: true }).then((res) => {
getMyPlans().then((res) => {
this.list = res.reverse() || [];
});
},
Expand Down
2 changes: 1 addition & 1 deletion src/components/manufacture/Plan.vue
Original file line number Diff line number Diff line change
Expand Up @@ -237,7 +237,7 @@ export default {
},
// 编辑清单跳转
editLink({ id }) {
return __Root + "item/plan_view/" + id;
return __Root + "item/plan_edit/" + id;
},
close() {
Bus.$emit("update");
Expand Down
4 changes: 2 additions & 2 deletions src/service/plan.js
Original file line number Diff line number Diff line change
Expand Up @@ -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;
});
Expand Down
2 changes: 1 addition & 1 deletion src/views/body/List.vue
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
<div class="m-list" v-for="(_list, index) in groupList" :key="index">
<h2 class="u-list-title">
<span>{{ nameMap[_list.key] }}</span>
<span class="u-more" @click="setActive(_list.key)">查看全部</span>
<span class="u-more" @click="setActive(_list.key)" v-if="!tabsData.body_type">查看全部</span>
</h2>
<!-- 显示一行 -->
<div class="m-list-box" v-if="!tabsData.body_type">
Expand Down
2 changes: 1 addition & 1 deletion src/views/face/Single.vue
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
<a :href="publish_link" target="_blank">
<div class="u-face-publish">
<img svg-inline src="@/assets/img/face/face-publish.svg" class="u-img" />
<span>发布脸型</span>
<span>发布作品</span>
</div>
</a>
</div>
Expand Down
2 changes: 1 addition & 1 deletion src/views/price/goods/myGoodsDialog.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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) => {
Expand Down

0 comments on commit 558d302

Please sign in to comment.