mirror of
https://github.com/Kuingsmile/PicList.git
synced 2025-01-23 06:38:13 -05:00
🐛 Fix: decrease title-bar z-index when config-form dialog shows
This commit is contained in:
parent
9d4d605acf
commit
f2750e1234
@ -145,6 +145,16 @@ export default class extends Vue {
|
|||||||
this.getPluginList()
|
this.getPluginList()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@Watch('dialogVisible')
|
||||||
|
onDialogVisible (val: boolean) {
|
||||||
|
if (val) {
|
||||||
|
// @ts-ignore
|
||||||
|
document.querySelector('.main-content.el-row').style.zIndex = 101
|
||||||
|
} else {
|
||||||
|
// @ts-ignore
|
||||||
|
document.querySelector('.main-content.el-row').style.zIndex = 10
|
||||||
|
}
|
||||||
|
}
|
||||||
created () {
|
created () {
|
||||||
this.os = process.platform
|
this.os = process.platform
|
||||||
ipcRenderer.on('pluginList', (evt: IpcRendererEvent, list: IPicGoPlugin[]) => {
|
ipcRenderer.on('pluginList', (evt: IpcRendererEvent, list: IPicGoPlugin[]) => {
|
||||||
|
Loading…
Reference in New Issue
Block a user