diff --git a/src/api/flower/index.js b/src/api/flower/index.js index 61218d0..f217ebf 100644 --- a/src/api/flower/index.js +++ b/src/api/flower/index.js @@ -22,6 +22,10 @@ export default { */ changeHot(params){ return fetch('/library/hot',params,'post','json') + }, + + inviteList(params){ + return fetch('/personal/inviteCode/inviteRecords',params,'post','json') } } diff --git a/src/layout/left.vue b/src/layout/left.vue index 0897b72..058fc9a 100644 --- a/src/layout/left.vue +++ b/src/layout/left.vue @@ -97,12 +97,11 @@ export default { if (tmp) { this.user = JSON.parse(tmp) } - console.log(this.user) }, fetchMenu() { this.$api.sys.menus().then(res => { if (res.code === 200) { - this.list = res.data + this.list = res.data.reverse() } if (this.list.length > 0) { const path = this.list[0] diff --git a/src/views/flower/badge/components/edit.vue b/src/views/flower/badge/components/edit.vue index 829b2d1..8a09ea7 100644 --- a/src/views/flower/badge/components/edit.vue +++ b/src/views/flower/badge/components/edit.vue @@ -19,7 +19,7 @@
- +
徽章大小为 400* 400
diff --git a/src/views/flower/badge/index.vue b/src/views/flower/badge/index.vue index c32319a..264cb29 100644 --- a/src/views/flower/badge/index.vue +++ b/src/views/flower/badge/index.vue @@ -9,10 +9,9 @@