feat: 前端统一化修改
This commit is contained in:
parent
64f15bc8cf
commit
4fca971d49
|
@ -5,8 +5,8 @@
|
|||
"author": "Pan <panfree23@gmail.com>",
|
||||
"license": "MIT",
|
||||
"scripts": {
|
||||
"dev": "set NODE_OPTIONS=--openssl-legacy-provider && vue-cli-service serve",
|
||||
"build:prod": "set NODE_OPTIONS=--openssl-legacy-provider && vue-cli-service build",
|
||||
"dev": "vue-cli-service serve",
|
||||
"build:prod": "vue-cli-service build",
|
||||
"build:stage": "vue-cli-service build --mode staging",
|
||||
"preview": "node build/index.js --preview",
|
||||
"lint": "eslint --ext .js,.vue src",
|
||||
|
|
|
@ -10,7 +10,7 @@ function get_api_url(){
|
|||
if(process.env.ENV === 'development' || (process.env.ENV === 'production' && window.location.host.indexOf('localhost') > -1)){
|
||||
return process.env.VUE_APP_BASE_API
|
||||
}
|
||||
return 'http://' + window.location.host + '/api'
|
||||
return 'https://' + window.location.host + '/api'
|
||||
}
|
||||
// // 如果生产模式,就合并动态的APP_CONFIG
|
||||
// // public/config.js
|
||||
|
|
|
@ -24,7 +24,7 @@ export default {
|
|||
},
|
||||
data() {
|
||||
return {
|
||||
title: '辐射学堂后台管理',
|
||||
title: '小程序后台管理',
|
||||
logo: 'https://wpimg.wallstcn.com/69a1c46c-eb1c-4b46-8bd4-e9e686ef5251.png'
|
||||
}
|
||||
}
|
||||
|
|
|
@ -311,21 +311,21 @@ export const asyncRoutes = [
|
|||
]
|
||||
},
|
||||
|
||||
{
|
||||
path: '/qtest',
|
||||
component: Layout,
|
||||
redirect: '/qtest/consult',
|
||||
name: 'Qtest',
|
||||
meta: { title: '铅当量检测', icon: '', perms: ['qtest_view']},
|
||||
children: [
|
||||
{
|
||||
path: 'consult',
|
||||
name: 'Consult',
|
||||
component: () => import('@/views/qtest/consult.vue'),
|
||||
meta: { title: '铅当量检测', icon: 'eye-open', perms: ['qtest_view'] }
|
||||
},
|
||||
]
|
||||
},
|
||||
// {
|
||||
// path: '/qtest',
|
||||
// component: Layout,
|
||||
// redirect: '/qtest/consult',
|
||||
// name: 'Qtest',
|
||||
// meta: { title: '铅当量检测', icon: '', perms: ['qtest_view']},
|
||||
// children: [
|
||||
// {
|
||||
// path: 'consult',
|
||||
// name: 'Consult',
|
||||
// component: () => import('@/views/qtest/consult.vue'),
|
||||
// meta: { title: '铅当量检测', icon: 'eye-open', perms: ['qtest_view'] }
|
||||
// },
|
||||
// ]
|
||||
// },
|
||||
{
|
||||
path: '/system',
|
||||
component: Layout,
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
module.exports = {
|
||||
|
||||
title: '中科辐射',
|
||||
title: '小程序',
|
||||
|
||||
/**
|
||||
* @type {boolean} true | false
|
||||
|
|
|
@ -12,7 +12,7 @@
|
|||
<!-- <img class="logo" src="../../assets/logo.png" /> -->
|
||||
</div>
|
||||
<div class="title-container">
|
||||
<h3 class="title">辐射学堂后台管理</h3>
|
||||
<h3 class="title">小程序后台管理</h3>
|
||||
</div>
|
||||
<el-form-item prop="username">
|
||||
<span class="svg-container">
|
||||
|
|
Loading…
Reference in New Issue