From 23f25c5af5df65346e97e246f9fe390b786c8c49 Mon Sep 17 00:00:00 2001 From: moonrailgun Date: Thu, 7 Oct 2021 21:21:15 +0800 Subject: [PATCH] =?UTF-8?q?refactor:=20=E5=A2=9E=E5=8A=A0=E5=BC=95?= =?UTF-8?q?=E5=AF=BC=E6=8F=92=E4=BB=B6=E6=AC=A2=E8=BF=8E=E8=AF=AD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- web/plugins/com.msgbyte.intro/src/steps.ts | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/web/plugins/com.msgbyte.intro/src/steps.ts b/web/plugins/com.msgbyte.intro/src/steps.ts index ddd4aeb8..ad9cf1cd 100644 --- a/web/plugins/com.msgbyte.intro/src/steps.ts +++ b/web/plugins/com.msgbyte.intro/src/steps.ts @@ -38,6 +38,11 @@ function buildStepOption(options: { } export const steps: Shepherd.Step.StepOptions[] = [ + { + id: 'start', + text: '欢迎使用 TailChat, 一个插件化的开源IM应用', + beforeShowPromise: buildWatchDom('[data-tc-role=navbar]'), // 仅当主界面出现后才显示欢迎 + }, buildStepOption({ id: 'navbar', text: '这是导航栏, 在这里可以切换tailchat的各个主要页面',