Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
肖翔宇
/
admin-vue
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
09c3a80c
authored
Dec 12, 2018
by
肖翔宇
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
12.12
parent
9194d452
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
2 deletions
+5
-2
src/permission.js
+1
-1
src/views/piano/pianoEdit.vue
+4
-1
No files found.
src/permission.js
View file @
09c3a80c
...
...
@@ -5,7 +5,7 @@ import 'nprogress/nprogress.css'// Progress 进度条样式
import
{
Message
}
from
'element-ui'
import
{
getToken
}
from
'@/utils/auth'
// 验权
const
whiteList
=
[
'/courseList'
,
'/courseEdit'
,
'/bargainList'
,
'/bargainEdit'
]
// 不重定向白名单
const
whiteList
=
[
'/courseList'
,
'/courseEdit'
,
'/bargainList'
,
'/bargainEdit'
,
'/userCost'
,
'/pianoList'
,
'/pianoEdit'
,
'/code'
]
// 不重定向白名单
router
.
beforeEach
((
to
,
from
,
next
)
=>
{
NProgress
.
start
()
if
(
getToken
())
{
...
...
src/views/piano/pianoEdit.vue
View file @
09c3a80c
...
...
@@ -30,6 +30,9 @@
</el-option>
</el-select>
</el-form-item>
<el-form-item
label=
"用琴价格"
prop=
"customPrice"
>
<el-input
v-model
.
trim=
"temp.customPrice"
placeholder=
"请输入用琴价格"
></el-input>
</el-form-item>
<el-form-item
label=
"封面图"
prop=
"cover"
>
<el-upload
class=
"avatar-uploader"
...
...
@@ -113,7 +116,7 @@
latitude
:
undefined
,
status
:
1
,
sysCodeForPianoId
:[],
abc
:[]
customPrice
:
undefined
},
painoId
:
0
,
banners
:
[],
...
...
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