删除安全验证

This commit is contained in:
luyuan 2020-10-12 09:55:28 +08:00
parent 0336d72d26
commit a7ca08ec34
Signed by: theluyuan
GPG Key ID: A7972FD973317FF3
3 changed files with 26 additions and 9 deletions

View File

@ -1,13 +1,14 @@
<template>
<div class="nav-bottom">
<div class="nav-container">
<div v-for="(item, index) in navArray" :key="index" class="nav-item">{{ item.name }}</div>
<div v-for="(item, index) in navArray" :key="index" class="nav-item" @click="navto(item.route)">{{ item.name }}</div>
</div>
<div class="copyright">Beelink公司版权所有 20192022</div>
</div>
</template>
<script lang="ts">
import router from '@/router';
import { defineComponent } from 'vue';
export default defineComponent({
@ -20,23 +21,28 @@ export default defineComponent({
const navArray: Array<Nav> = [
{
name: "直播管理",
route: ""
route: "/regime/live"
},
{
name: "视频管理",
route: ""
route: "/regime/video"
},
{
name: "订阅者管理",
route: ""
route: "/regime/subscriber"
},
{
name: "个人中心",
route: ""
route: "/mine/archives"
}
]
function navto(url: string){
router.push(url)
}
return {
navArray
navArray,
navto
}
}
})

View File

@ -1,5 +1,5 @@
<template>
<div class="videoitem">
<div class="videoitem" @click="navto()">
<img src="" alt="" class="cover">
<img src="@/static/images/play.png" alt="" class="play">
<div class="title">
@ -128,14 +128,24 @@
}
</style>
<script lang="ts">
import router from '@/router';
import { defineComponent } from 'vue';
export default defineComponent({
props:{
props:{
type: {
type: Number,
default:1
}
},
setup() {
function navto(){
router.push("/regime/videoinfo")
}
return {
navto
}
}
})
</script>

View File

@ -19,7 +19,8 @@ module.exports = {
// 为开发环境修改配置...
config.devServer = {
proxy: 'http://case.sy-my.net'
proxy: 'http://case.sy-my.net',
disableHostCheck: true
}
}
}