测试组件封装

This commit is contained in:
BianLzhaoMin 2024-06-19 14:33:26 +08:00
parent 35922d044d
commit 119b37d3eb
8 changed files with 30 additions and 3 deletions

View File

@ -0,0 +1,8 @@
<template> </template>
<script>
export default {}
</script>
<style>
</style>

View File

@ -8,7 +8,7 @@ import { isRelogin } from '@/utils/request'
NProgress.configure({ showSpinner: false })
const whiteList = ['/login', '/register', '/auth/sendCode', '/qrCode/qrCodePage']
const whiteList = ['/login', '/register', '/auth/sendCode', '/qrCode/qrCodePage', '/demo']
router.beforeEach((to, from, next) => {
NProgress.start()

View File

@ -61,6 +61,11 @@ export const constantRoutes = [
component: () => import('@/views/error/401'),
hidden: true
},
{
path: '/demo',
component: () => import('@/views/demo.vue'),
hidden: true
},
{
path: '',
component: Layout,

View File

@ -0,0 +1,14 @@
<template>
<div class="app-container"> 999888777 </div>
</template>
<script>
export default {}
</script>
<style>
.demo {
box-shadow: 0 0 2px;
background-color: skyblue;
}
</style>

View File

@ -46,8 +46,8 @@ module.exports = {
// target: `http://10.40.92.60:28080`, //超
// target: `http://10.40.92.81:8080`, //韩/
// target: `http://10.40.92.74:8080`,//旭/
// target: `http://10.40.92.140:28080`, //帅
target: `http://10.40.92.253:28080`, //福
target: `http://10.40.92.140:28080`, //帅
// target: `http://10.40.92.253:28080`, //福
//******** 注意事项 ********* */
//1.全局替换qrUrl二维码扫码提供的网址-发布服务器的地址target;