From b49fc3e2e179a165483ea12de83539829e063c58 Mon Sep 17 00:00:00 2001 From: terwer Date: Fri, 29 Jul 2022 11:29:16 +0800 Subject: [PATCH] =?UTF-8?q?feat:#13=20=E5=8F=91=E5=B8=83=E5=88=B0Vuepress-?= =?UTF-8?q?=E5=BC=80=E5=8F=91=E9=98=B6=E6=AE=B5=E6=A8=A1=E6=8B=9FID?= =?UTF-8?q?=EF=BC=8C=E4=BD=BF=E5=BE=97=E6=95=B4=E4=B8=AA=E9=80=BB=E8=BE=91?= =?UTF-8?q?=E6=9B=B4=E5=8A=A0=E9=80=9A=E7=94=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .env.development | 5 +- src/components/main/VuepressMain.vue | 8 +-- src/lib/siyuan/siyuanUtil.ts | 89 ++++++++++++++++++---------- 3 files changed, 67 insertions(+), 35 deletions(-) diff --git a/.env.development b/.env.development index 923bad24..b98e6b23 100644 --- a/.env.development +++ b/.env.development @@ -3,4 +3,7 @@ # VITE_LOG_INFO_ENABLED= # 思源笔记授权token,部分api调用需要 -# VITE_SIYUAN_CONFIG_TOKEN= \ No newline at end of file +# VITE_SIYUAN_CONFIG_TOKEN= + +# 开发阶段模拟的页面ID,仅限调试使用,生产环境无需此配置 +# VITE_SIYUAN_DEV_PAGE_ID= \ No newline at end of file diff --git a/src/components/main/VuepressMain.vue b/src/components/main/VuepressMain.vue index 6edfe28a..32b9fc9c 100644 --- a/src/components/main/VuepressMain.vue +++ b/src/components/main/VuepressMain.vue @@ -107,7 +107,7 @@