From 7d0e14e2cac4d57d91395be6ba33ecc4148f8d81 Mon Sep 17 00:00:00 2001 From: xiaojunnuo Date: Sun, 10 Jan 2021 19:15:24 +0800 Subject: [PATCH] refactor: doc --- packages/gui/src/view/components/setup-ca.vue | 9 +++++---- packages/gui/src/view/pages/index.vue | 12 ++++++------ 2 files changed, 11 insertions(+), 10 deletions(-) diff --git a/packages/gui/src/view/components/setup-ca.vue b/packages/gui/src/view/components/setup-ca.vue index 268c055..260a25e 100644 --- a/packages/gui/src/view/components/setup-ca.vue +++ b/packages/gui/src/view/components/setup-ca.vue @@ -15,15 +15,16 @@ 点此去安装
- 本应用正常使用必须信任本地自动随机生成的根证书
- 1、点击右上角“点此去安装按钮”
+ 本应用正常使用必须安装和信任CA根证书,该证书是应用启动时本地随机生成的
- + 3、可能需要重新启动应用和浏览器才能生效
diff --git a/packages/gui/src/view/pages/index.vue b/packages/gui/src/view/pages/index.vue index 806fc09..cbb26ed 100644 --- a/packages/gui/src/view/pages/index.vue +++ b/packages/gui/src/view/pages/index.vue @@ -132,18 +132,18 @@ export default { return } this.$confirm({ - title: '提示', - content: '第一次使用,请先安装CA根证书', - cancelText: '关闭此提示', + title: '第一次使用,请先安装CA根证书', + content: '本应用正常使用,必须安装和信任CA根证书', + cancelText: '下次', okText: '去安装', onOk: () => { this.openSetupCa() }, onCancel: () => { this.setting.rootCa = this.setting.rootCa || {} - const rootCa = this.setting.rootCa - rootCa.noTip = true - this.$api.setting.save(this.setting) + // const rootCa = this.setting.rootCa + // rootCa.noTip = true + // this.$api.setting.save(this.setting) } }) })