| | |
| | | /*
|
| | | * @Date: 2023-12-20 20:21:29
|
| | | * @LastEditors: Sneed
|
| | | * @LastEditTime: 2024-01-05 23:44:25
|
| | | * @LastEditTime: 2024-01-17 23:53:54
|
| | | * @FilePath: /belleson-frontend/Users/mache/Documents/demo/mdc/config/index.js
|
| | | */
|
| | | 'use strict'
|
| | |
| | | assetsPublicPath: '/',
|
| | | proxyTable: {
|
| | | '/mdc': {
|
| | | // target: 'http://172.20.10.8:8087/',
|
| | | // target: 'http://192.168.230.143:8087/',
|
| | | target: 'http://116.63.148.72:8088/',
|
| | | // target: 'http://111.230.17.122:8087/',
|
| | | target: 'http://116.63.148.72:81/',
|
| | | changeOrigin: true,
|
| | | pathRewrite: {
|
| | | '^/mdc': '/mdc'
|
| | | }
|
| | | },
|
| | | '/upload': {
|
| | | target: 'http://116.63.148.72:81/',
|
| | | changeOrigin: true,
|
| | | pathRewrite: {
|
| | | '^/upload': '/upload'
|
| | | }
|
| | | }
|
| | | },
|
| | | // Various Dev Server settings
|
| | |
| | | this.showSub = true |
| | | } |
| | | this.activeId = item.label || this.activeId |
| | | // if(item.pathName) { |
| | | // this.$router.push({name: item.pathName,params: item.params,query: item.query}) |
| | | // } |
| | | } else if (item.pathName && item.children && item.children.length === 0) { |
| | | } else if (item.pathName && item.children && item.children.length === 0) { //父菜单 |
| | | this.activeId = item.label || this.activeId |
| | | this.$router.push({name: item.pathName,params: item.params,query: item.query}) |
| | | } else if(item.pathName){ //二级菜单 |
| | | this.$router.push({name: item.pathName,params: item.params,query: item.query}) |
| | | } else if(item.href) { |
| | | } else if(item.href) {// 打开新页 |
| | | window.open(item.href) |
| | | } |
| | | }, |
| | |
| | | }
|
| | | .el-form-item {
|
| | | margin-bottom: 22px;
|
| | | }
|
| | | .el-form-item__label {
|
| | | font-size: 12px;
|
| | | } |