We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 75835d3 commit a70ea9eCopy full SHA for a70ea9e
2 files changed
src/assets/styles/custom.less
@@ -343,4 +343,8 @@
343
.ant-slider-rail, .ant-slider-track, .ant-slider-step {
344
height: 2px;
345
top: 5px;
346
-}
+}
347
+
348
+.ant-drawer-close:focus {
349
+ outline: none;
350
src/views/menu/Index.vue
@@ -184,9 +184,9 @@ export default class Menu extends Vue {
184
ipcRenderer.send('menu-save', { ...this.form })
185
ipcRenderer.once('menu-saved', (event: IpcRendererEvent, result: any) => {
186
if (typeof this.form.index !== 'number') {
187
- this.menuList.push(this.form)
+ this.menuList.push({ ...this.form })
188
} else {
189
- this.menuList[this.form.index] = this.form
+ this.menuList[this.form.index] = { ...this.form }
190
}
191
this.$bus.$emit('site-reload')
192
this.$message.success(this.$t('menuSuccess'))
0 commit comments