[FIX] siderDrawer button functionality + [Update] redirect restart panel
@@ -28,6 +28,12 @@ body {
display: none;
}
+@media (max-width: 768px) {
+ .ant-layout-sider {
+ display: none;
+ }
+}
+
.ant-card {
border-radius: 1.5rem;
@@ -317,6 +317,7 @@
delimiters: ['[[', ']]'],
el: '#app',
data: {
+ siderDrawer,
themeSwitcher,
spinning: false,
inbounds: [],
@@ -388,6 +388,7 @@
status: new Status(),
versionModal,
@@ -241,6 +241,7 @@
oldAllSetting: new AllSetting(),
@@ -357,7 +358,7 @@
if (msg.success) {
this.loading(true);
await PromiseUtil.sleep(5000);
- location.reload();
+ window.location.replace(this.allSetting.webBasePath + "panel/settings");
},
async getUserSecret() {