removeTopRightButton-status-page
Showing
1 changed file
with
8 additions
and
0 deletions
1 | const Vue = require('vue'); | 1 | const Vue = require('vue'); |
2 | const Status = require('home/refund/refund-status.vue'); | 2 | const Status = require('home/refund/refund-status.vue'); |
3 | +const yohoApp = require('yoho-app'); | ||
3 | 4 | ||
4 | require('plugin/vue-filter')(Vue); | 5 | require('plugin/vue-filter')(Vue); |
5 | 6 | ||
7 | +// 取消 Mars APP 头部的提交按钮 | ||
8 | +if (yohoApp && yohoApp.isMarsApp) { | ||
9 | + yohoApp.ready(function() { | ||
10 | + yohoApp.invokeMethod('set.removeTopRightButton'); | ||
11 | + }); | ||
12 | +} | ||
13 | + | ||
6 | new Vue({ | 14 | new Vue({ |
7 | el: '#status', | 15 | el: '#status', |
8 | components: { | 16 | components: { |
-
Please register or login to post a comment