Commit c5e5241b by caoyanzhi

update: 调整路由配置

parent 78874b8d
......@@ -264,7 +264,7 @@ export default {
const that = this;
if (!!that.selectTag.length) {
sessionStorage.setItem('selectTempTag', JSON.stringify(that.selectTag));
window.open(`${window.location.origin}/member-tag/#/memberGroupEdit`);
window.open(`${window.location.origin}/member-tag/#/memberGroupAdd`);
} else {
that.$message.error({
duration: 1000,
......
......@@ -51,24 +51,14 @@ Vue.axios.interceptors.response.use(
return Promise.reject(error.response.data);
}
);
Vue.prototype.$buttonCode = buttonCode;
Vue.prototype.$getButtonLimit = () => {};
// window.getLimit(router, requestProject).then(() => {
// new Vue({
// el: '#app',
// router,
// store,
// components: { App },
// template: '<App/>'
// });
// })
/* eslint-disable no-new */
new Vue({
el: '#app',
router,
store,
components: { App },
template: '<App/>'
});
window.getLimit(router, 'member-tag').then(() => {
/* eslint-disable no-new */
new Vue({
el: '#app',
router,
store,
components: { App },
template: '<App/>'
});
})
......@@ -148,6 +148,14 @@ export const constantRouterMap = [
}
},
{
path: '/memberGroupAdd',
component: _import('memberGroup', 'memberGroupEdit'),
name: '新建分组',
meta: {
title: '会员标签-新建分组'
}
},
{
path: '/memberGroupEdit',
component: _import('memberGroup', 'memberGroupEdit'),
name: '编辑分组',
......
......@@ -1011,7 +1011,7 @@ export default {
* 新增分组
*/
toAddGroup() {
this.changeRoute('/memberGroupEdit');
this.changeRoute('/memberGroupAdd');
},
/**
......
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