update 优化组件

This commit is contained in:
yoe 2020-05-07 17:07:01 +08:00
parent 51ed9e8ce1
commit 9cb148e700
9 changed files with 6 additions and 6 deletions

6
package-lock.json generated
View File

@ -3876,9 +3876,9 @@
"dev": true
},
"element-ui": {
"version": "2.8.2",
"resolved": "https://registry.npmjs.org/element-ui/-/element-ui-2.8.2.tgz",
"integrity": "sha512-LABKHKGUyewFNvpf9BQLecB659Wq0XYvyP1tBveZ4RWpdlPSylDfGW/RLvDYU7zuCBoRasdZAz7ryjOwq1lLNg==",
"version": "2.13.1",
"resolved": "https://registry.npmjs.org/element-ui/-/element-ui-2.13.1.tgz",
"integrity": "sha512-jyvJmXa2c6ElRc4NOw4V1vnjHsvfzTRhbwElZ68CyF9by2F64B+AJRzujg/HJgXCimHwd2g1Av9D04EP3mWymg==",
"requires": {
"async-validator": "~1.8.1",
"babel-helper-vue-jsx-merge-props": "^2.0.0",

View File

@ -17,7 +17,7 @@
"axios": "^0.19.2",
"babel-plugin-component": "0.10.1",
"babel-polyfill": "6.26.0",
"element-ui": "2.8.2",
"element-ui": "^2.13.1",
"gulp": "3.9.1",
"gulp-concat": "2.6.1",
"gulp-load-plugins": "1.5.0",

View File

@ -24,7 +24,7 @@ const globalRoutes = [
// 主入口路由(需嵌套上左右整体布局)
const mainRoutes = {
path: '/',
component: _import('main'),
component: _import('layout/main'),
name: 'main',
redirect: { name: 'home' },
meta: { title: '主入口整体布局' },

View File

@ -18,7 +18,7 @@
import MainNavbar from './main-navbar'
import MainSidebar from './main-sidebar'
import MainContent from './main-content'
import { apiGetUserInfo } from '../api/api_user'
import { apiGetUserInfo } from '../../api/api_user'
export default {
provide () {