Skip to content

Commit

Permalink
fix: bug
Browse files Browse the repository at this point in the history
  • Loading branch information
gocloudcoder committed Jun 8, 2021
1 parent c8ca56c commit b191a09
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 8 deletions.
2 changes: 1 addition & 1 deletion free-pic/web/view/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width,initial-scale=1.0">
<title>puhai</title>
<title>qn-web</title>
</head>
<body>
<div id="app"></div>
Expand Down
11 changes: 8 additions & 3 deletions free-pic/web/view/src/App.vue
Original file line number Diff line number Diff line change
@@ -1,14 +1,19 @@
<template>
<div class="bg">

<router-view></router-view>
</div>
</template>

<script>
import Dashboard from "./view/dashboard/Dashboard";
export default {
name: "page1",
name: "App",
data() {
return {}
return {
components: {
Dashboard
}
}
}
}
</script>
Expand Down
2 changes: 1 addition & 1 deletion free-pic/web/view/src/components/upload.vue
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@

<script>
export default {
name: "page1",
name: "upload",
data() {
return {
imgName:"",
Expand Down
5 changes: 2 additions & 3 deletions free-pic/web/view/src/view/dashboard/Dashboard.vue
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
background-color="#545c64"
text-color="#fff"
active-text-color="#ffd04b">
<!-- 导航栏-->

<!-- <el-submenu index="1">-->
<!-- <template slot="title">-->
<!-- <i class="el-icon-location"></i>-->
Expand Down Expand Up @@ -48,8 +48,7 @@ export default {
data() {
return {
navList: [
{name:"/element", navItem:"element"},
{name:"/Echart", navItem:"Echart"}
{name:"/upload", navItem:"upload"},
],
isTabBar: false
}
Expand Down

0 comments on commit b191a09

Please sign in to comment.