diff --git a/src/renderer/components/material/PactModal.vue b/src/renderer/components/material/PactModal.vue index ff6cee06..5528d46b 100644 --- a/src/renderer/components/material/PactModal.vue +++ b/src/renderer/components/material/PactModal.vue @@ -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) diff --git a/src/renderer/plugins/Dialog/Dialog.vue b/src/renderer/plugins/Dialog/Dialog.vue index 1d061d44..e5628f4f 100644 --- a/src/renderer/plugins/Dialog/Dialog.vue +++ b/src/renderer/plugins/Dialog/Dialog.vue @@ -61,6 +61,7 @@ export default { max-width: 320px; min-width: 220px; line-height: 1.5; + white-space: pre-line; } .footer {