Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
memberTag-web
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
memberTag
memberTag-web
Commits
c5e5241b
Commit
c5e5241b
authored
Dec 15, 2021
by
caoyanzhi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update: 调整路由配置
parent
78874b8d
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
20 additions
and
22 deletions
+20
-22
tagTemporary.vue
src/components/tagTemporary.vue
+1
-1
main.js
src/main.js
+10
-20
index.js
src/router/index.js
+8
-0
memberGroupList.vue
src/view/memberGroup/memberGroupList.vue
+1
-1
No files found.
src/components/tagTemporary.vue
View file @
c5e5241b
...
...
@@ -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/#/memberGroup
Edit
`
);
window
.
open
(
`
${
window
.
location
.
origin
}
/member-tag/#/memberGroup
Add
`
);
}
else
{
that
.
$message
.
error
({
duration
:
1000
,
...
...
src/main.js
View file @
c5e5241b
...
...
@@ -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/>'
});
})
src/router/index.js
View file @
c5e5241b
...
...
@@ -148,6 +148,14 @@ export const constantRouterMap = [
}
},
{
path
:
'/memberGroupAdd'
,
component
:
_import
(
'memberGroup'
,
'memberGroupEdit'
),
name
:
'新建分组'
,
meta
:
{
title
:
'会员标签-新建分组'
}
},
{
path
:
'/memberGroupEdit'
,
component
:
_import
(
'memberGroup'
,
'memberGroupEdit'
),
name
:
'编辑分组'
,
...
...
src/view/memberGroup/memberGroupList.vue
View file @
c5e5241b
...
...
@@ -1011,7 +1011,7 @@ export default {
* 新增分组
*/
toAddGroup
()
{
this
.
changeRoute
(
'/memberGroup
Edit
'
);
this
.
changeRoute
(
'/memberGroup
Add
'
);
},
/**
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment