角色切换问题修改,title修改

master
CherrysChang 4 years ago
parent 908a2f7504
commit 2ce819570f
  1. 3
      src/components/common/header.vue
  2. 9
      src/components/common/market-header.vue
  3. 2
      src/pages/marketAnnounce.app.js
  4. 2
      src/pages/marketAnnounce.vue
  5. 2
      src/pages/marketOrder.app.js
  6. 2
      src/pages/marketOrder.vue
  7. 2
      title.config.js

@ -536,8 +536,9 @@ export default {
switchRole(command) {
if (!command) {
return;
} else if (command === 'marketMaker') {
location.href = '/marketAnnounce';
}
location.href = '/market-announce';
},
exit(params) {
logOut().then(res => {

@ -85,8 +85,8 @@ import {yyyfUrl} from '@/api/app.js';
const Menu = {
icon: [{t: 'nav.menu_name', link: '/'}],
left: [
{t: '发布广告', link: '/market-announce'},
{t: '法币交易', link: '/market-order'},
{t: '发布广告', link: '/marketAnnounce'},
{t: '法币交易', link: '/marketOrder'},
],
right: [],
};
@ -119,7 +119,7 @@ export default {
},
userData: '',
headerImg: '',
perUrl: 'market-announce',
perUrl: 'marketAnnounce',
file: '',
showCounting: true,
//0 1 2
@ -285,8 +285,9 @@ export default {
switchRole(command) {
if (!command) {
return;
} else if (command === 'tradeUser') {
location.href = '/';
}
location.href = '/';
},
},
};

@ -1,6 +1,6 @@
import pageCommon from '@/common/page-common';
import App from './market-announce';
import App from './marketAnnounce';
pageCommon.createPageInstance({
render: h => h(App),

@ -48,7 +48,7 @@ import AnnounceTableSell from '@/components/announce/announce-table-sell';
import MarketHeader from '@/components/common/market-header';
export default {
name: 'market-announce',
name: 'marketAnnounce',
components: {
MarketHeader,
Footer,

@ -1,6 +1,6 @@
import pageCommon from '@/common/page-common';
import App from './market-order';
import App from './marketOrder';
pageCommon.createPageInstance({
render: h => h(App),

@ -18,7 +18,7 @@ import OrderOtcGoods from '@/components/order/order-otc-goods';
import MarketHeader from '@/components/common/market-header';
export default {
name: 'market-order',
name: 'marketOrder',
components: {
MarketHeader,
Footer,

@ -29,6 +29,8 @@ const Titles = {
about: '关于我们',
help: '帮助中心',
},
marketAnnounce: '发布广告',
marketOrder: '法币管理',
};
/**

Loading…
Cancel
Save