diff --git a/package.json b/package.json
index 9994d18..7c09a9f 100644
--- a/package.json
+++ b/package.json
@@ -93,6 +93,7 @@
},
"browserslist": [
"> 0.25%",
- "not dead"
+ "not dead",
+ "chrome 58"
]
}
diff --git a/src/App.vue b/src/App.vue
index cd669ff..f6a6a16 100644
--- a/src/App.vue
+++ b/src/App.vue
@@ -27,8 +27,8 @@ export default {
isOnline: {},
// WebSocket相关
websocket: null,
- websocketUrl: 'ws://10.42.0.1:7181/ws',
- // websocketUrl: 'ws://119.45.202.115:7181/ws',
+ // websocketUrl: 'ws://10.42.0.1:7181/ws',
+ websocketUrl: 'ws://119.45.202.115:7181/ws',
isWebSocketConnected: false,
reconnectTimer: null,
reconnectAttempts: 0,
@@ -104,7 +104,7 @@ export default {
try {
const data = JSON.parse(event.data, (key, value, ctx) => {
if (ctx) {
- console.log('ctx', ctx)
+ // console.log('ctx', ctx)
}
if (typeof value === 'number' && value > Number.MAX_SAFE_INTEGER) {
return ctx?.source || value;
@@ -375,6 +375,9 @@ export default {
showConfirmButton: false,
type: 'error'
})
+ setTimeout(() => {
+ debugger
+ }, 200)
this.isOnline[key] = new Date().getTime()
}
}
diff --git a/src/assets/icons/svg/home.svg b/src/assets/icons/svg/home.svg
new file mode 100644
index 0000000..64779c9
--- /dev/null
+++ b/src/assets/icons/svg/home.svg
@@ -0,0 +1,5 @@
+
\ No newline at end of file
diff --git a/src/assets/styles/sidebar.scss b/src/assets/styles/sidebar.scss
index abe5b63..dbfc5b4 100644
--- a/src/assets/styles/sidebar.scss
+++ b/src/assets/styles/sidebar.scss
@@ -16,10 +16,10 @@
transition: width 0.28s;
width: $base-sidebar-width !important;
background-color: $base-menu-background;
- height: 100%;
+ height: calc(100% - 50px);
position: fixed;
font-size: 0px;
- top: 0;
+ top: 50px;
bottom: 0;
left: 0;
z-index: 1001;
diff --git a/src/layout/components/Sidebar/index.vue b/src/layout/components/Sidebar/index.vue
index 51d0839..7f8f1e0 100644
--- a/src/layout/components/Sidebar/index.vue
+++ b/src/layout/components/Sidebar/index.vue
@@ -1,6 +1,6 @@
-
+
import { mapGetters, mapState } from "vuex";
-import Logo from "./Logo";
+// import Logo from "./Logo";
import SidebarItem from "./SidebarItem";
import variables from "@/assets/styles/variables.scss";
export default {
- components: { SidebarItem, Logo },
+ // components: { SidebarItem, Logo },
+ components: { SidebarItem, },
computed: {
...mapState(["settings"]),
...mapGetters(["sidebarRouters", "sidebar"]),
diff --git a/src/layout/index.vue b/src/layout/index.vue
index dba4393..98b13b9 100644
--- a/src/layout/index.vue
+++ b/src/layout/index.vue
@@ -1,10 +1,15 @@