Commit 73bee61e authored by 邓晓峰's avatar 邓晓峰

feat: 添加事件订阅中心

parent e5c6861e
Pipeline #31107 passed with stages
in 56 minutes 24 seconds
/* eslint-disable */ /* eslint-disable */
// const proxyURL = process.env.NODE_ENV !== 'production' ? 'http://192.168.10.150:8777' : window.location.origin; // const proxyURL = process.env.NODE_ENV !== 'production' ? 'http://192.168.10.150:8777' : window.location.origin;
const proxyURL = 'http://172.16.10.82:8090'; const proxyURL = 'https://panda-water.com';
module.exports = { module.exports = {
assetsRoot: process.env.NODE_ENV !== 'production' ? proxyURL : './', assetsRoot: process.env.NODE_ENV !== 'production' ? proxyURL : './',
dev: { dev: {
......
...@@ -14,6 +14,7 @@ import { ...@@ -14,6 +14,7 @@ import {
Result, Result,
Spin, Spin,
} from 'antd'; } from 'antd';
import { store } from 'microser-data';
import classNames from 'classnames'; import classNames from 'classnames';
import Cookies from 'js-cookie'; import Cookies from 'js-cookie';
import { dom } from 'kit_utils'; import { dom } from 'kit_utils';
...@@ -735,6 +736,7 @@ const BasicLayout = props => { ...@@ -735,6 +736,7 @@ const BasicLayout = props => {
const handleUpdateCurrentIndex = index => { const handleUpdateCurrentIndex = index => {
props.updateCurrentIndex(index); props.updateCurrentIndex(index);
window.share && window.share.event.emit('trigger:updateMenuIndex', index); window.share && window.share.event.emit('trigger:updateMenuIndex', index);
store.set('updateMenuIndex', index);
} }
const renderSiderMenu = (menuItemProps, defaultDom) => { const renderSiderMenu = (menuItemProps, defaultDom) => {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment