Commit 09c3a80c by 肖翔宇

12.12

parent 9194d452
...@@ -5,7 +5,7 @@ import 'nprogress/nprogress.css'// Progress 进度条样式 ...@@ -5,7 +5,7 @@ import 'nprogress/nprogress.css'// Progress 进度条样式
import { Message } from 'element-ui' import { Message } from 'element-ui'
import { getToken } from '@/utils/auth' // 验权 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) => { router.beforeEach((to, from, next) => {
NProgress.start() NProgress.start()
if (getToken()) { if (getToken()) {
......
...@@ -30,6 +30,9 @@ ...@@ -30,6 +30,9 @@
</el-option> </el-option>
</el-select> </el-select>
</el-form-item> </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-form-item label="封面图" prop="cover">
<el-upload <el-upload
class="avatar-uploader" class="avatar-uploader"
...@@ -113,7 +116,7 @@ ...@@ -113,7 +116,7 @@
latitude: undefined, latitude: undefined,
status: 1, status: 1,
sysCodeForPianoId:[], sysCodeForPianoId:[],
abc:[] customPrice:undefined
}, },
painoId:0, painoId:0,
banners: [], banners: [],
......
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 sign in to comment