diff --git a/fir_client/src/assets/wx_pay.jpg b/fir_client/src/assets/wx_pay.jpg new file mode 100644 index 0000000..52f437e Binary files /dev/null and b/fir_client/src/assets/wx_pay.jpg differ diff --git a/fir_client/src/components/FirHeader.vue b/fir_client/src/components/FirHeader.vue index 30eb7bd..27ad745 100644 --- a/fir_client/src/components/FirHeader.vue +++ b/fir_client/src/components/FirHeader.vue @@ -49,7 +49,6 @@ 个人资料 - 修改密码 API token 存储管理 @@ -101,8 +100,6 @@ handleCommand(command) { if (command === 'userinfo') { this.$router.push({name: 'FirUserProfileInfo'}) - } else if (command === 'chpasswd') { - this.$router.push({name: 'FirUserProfileChangePwd'}) } else if (command === 'storage') { this.$router.push({name: 'FirUserStorage', params: {act: "change"}}) } else if (command === 'supersign') { @@ -137,18 +134,23 @@ } }, {}) } - } + }, + init_route_name() { + if (this.$route.meta) { + this.route_info.label = this.$route.meta.label; + this.route_info.name = this.$route.name; + } + }, }, created() { this.appName = this.$route.params.id }, watch: { $route: function () { this.appName = this.$route.params.id; - if (this.$route.meta) { - this.route_info.label = this.$route.meta.label; - this.route_info.name = this.$route.name; - } + this.init_route_name(); } + }, mounted() { + this.init_route_name(); } } diff --git a/fir_client/src/components/apps/FirAppInfosBase.vue b/fir_client/src/components/apps/FirAppInfosBase.vue index 2b751f1..5698c5e 100644 --- a/fir_client/src/components/apps/FirAppInfosBase.vue +++ b/fir_client/src/components/apps/FirAppInfosBase.vue @@ -86,8 +86,6 @@ :max="100"> - - @@ -100,6 +98,7 @@