diff --git a/docs/.vuepress/config.js b/docs/.vuepress/config.js index 6577f3e3..0a35af3e 100644 --- a/docs/.vuepress/config.js +++ b/docs/.vuepress/config.js @@ -1,7 +1,7 @@ /* * @Author: yubaolee <yubaolee@163.com> | ahfu~ <954478625@qq.com> * @Date: 2023-08-12 10:48:24 - * @LastEditTime: 2023-10-05 10:12:16 + * @LastEditTime: 2023-12-30 21:10:18 * @Description: * @ * @Copyright (c) 2023 by yubaolee | ahfu~ , All Rights Reserved. @@ -121,7 +121,7 @@ module.exports = { title: '基础开发', // 必要的 sidebarDepth: 1, // 可选的, 默认值是 1 collapsable: false, - children: ['router','openurl'], + children: ['router','openurl','keepalive'], }, 'datapropertyrule', 'printerplan', diff --git a/docs/core/faq.md b/docs/core/faq.md index f1463827..cc900bb9 100644 --- a/docs/core/faq.md +++ b/docs/core/faq.md @@ -49,7 +49,7 @@ b => b.UseRowNumberForPaging()); ## 使用mysql时,提示无法找到openauthdb.Org -在linux下面,mysql是区分数据库大小写的,但OpenAuth.Core使用EF映射数据库表是按照首字母大写来处理的。在mysql配置中里面加上: +在linux下面,mysql是区分数据库大小写的,但OpenAuth.Net使用EF映射数据库表是按照首字母大写来处理的。在mysql配置中里面加上: ```shell lower_case_table_names=1 diff --git a/docs/core/unitwork.md b/docs/core/unitwork.md index fe56da94..f75d11f1 100644 --- a/docs/core/unitwork.md +++ b/docs/core/unitwork.md @@ -92,7 +92,7 @@ namespace OpenAuth.App ``` -如果在一个事务里面有多次`SaveChanges()`的情况,需要使用OpenAuth.Core提供的`ExecuteWithTransaction`处理。如下: +如果在一个事务里面有多次`SaveChanges()`的情况,需要使用OpenAuth.Net提供的`ExecuteWithTransaction`处理。如下: ```csharp //代码详见TestTransaction.cs/NormalSubmit() diff --git a/docs/pro/keepalive.md b/docs/pro/keepalive.md new file mode 100644 index 00000000..eaf57021 --- /dev/null +++ b/docs/pro/keepalive.md @@ -0,0 +1,16 @@ +# 界面缓存 + +OpenAuth.Pro以前的版本采用vue [keepAlive](https://cn.vuejs.org/guide/built-ins/keep-alive.html)的方式缓存所有前端组件。从v5.2版本开始,可以在【模块管理】中配置前端是否缓存。如图: + + + + +::: tip 提示 +目前框架除了【消息日志/系统日志】外,其他界面都是默认自动缓存的。 +::: + + + + + +