添加弹窗

pull/733/head
lyswhut 2021-10-14 08:54:33 +08:00
parent ca12dc604d
commit 5fdba7720c
2 changed files with 7 additions and 0 deletions

View File

@ -96,6 +96,12 @@ export default {
...mapMutations(['setAgreePact']),
handleClick() {
this.setAgreePact()
setTimeout(() => {
this.$dialog({
message: Buffer.from('e69cace8bdafe4bbb6e5ae8ce585a8e5858de8b4b9e4b894e5bc80e6ba90efbc8ce5a682e69e9ce4bda0e698afe88ab1e992b1e8b4ade4b9b0e79a84efbc8ce8afb7e79bb4e68ea5e7bb99e5b7aee8af84efbc810a0a5468697320736f667477617265206973206672656520616e64206f70656e20736f757263652e', 'hex').toString(),
confirmButtonText: Buffer.from('e5a5bde79a8420284f4b29', 'hex').toString(),
})
}, 2000)
},
handleClose(isExit) {
if (isExit) return rendererSend(NAMES.mainWindow.close, true)

View File

@ -61,6 +61,7 @@ export default {
max-width: 320px;
min-width: 220px;
line-height: 1.5;
white-space: pre-line;
}
.footer {