增加界面缓存文档说明

This commit is contained in:
wintel 2023-12-30 21:12:05 +08:00
parent 989f8cd2bc
commit b604f68aa6
4 changed files with 20 additions and 4 deletions

View File

@ -1,7 +1,7 @@
/* /*
* @Author: yubaolee <yubaolee@163.com> | ahfu~ <954478625@qq.com> * @Author: yubaolee <yubaolee@163.com> | ahfu~ <954478625@qq.com>
* @Date: 2023-08-12 10:48:24 * @Date: 2023-08-12 10:48:24
* @LastEditTime: 2023-10-05 10:12:16 * @LastEditTime: 2023-12-30 21:10:18
* @Description: * @Description:
* @ * @
* @Copyright (c) 2023 by yubaolee | ahfu~ , All Rights Reserved. * @Copyright (c) 2023 by yubaolee | ahfu~ , All Rights Reserved.
@ -121,7 +121,7 @@ module.exports = {
title: '基础开发', // 必要的 title: '基础开发', // 必要的
sidebarDepth: 1, // 可选的, 默认值是 1 sidebarDepth: 1, // 可选的, 默认值是 1
collapsable: false, collapsable: false,
children: ['router','openurl'], children: ['router','openurl','keepalive'],
}, },
'datapropertyrule', 'datapropertyrule',
'printerplan', 'printerplan',

View File

@ -49,7 +49,7 @@ b => b.UseRowNumberForPaging());
## 使用mysql时提示无法找到openauthdb.Org ## 使用mysql时提示无法找到openauthdb.Org
在linux下面mysql是区分数据库大小写的但OpenAuth.Core使用EF映射数据库表是按照首字母大写来处理的。在mysql配置中里面加上 在linux下面mysql是区分数据库大小写的但OpenAuth.Net使用EF映射数据库表是按照首字母大写来处理的。在mysql配置中里面加上
```shell ```shell
lower_case_table_names=1 lower_case_table_names=1

View File

@ -92,7 +92,7 @@ namespace OpenAuth.App
``` ```
如果在一个事务里面有多次`SaveChanges()`的情况需要使用OpenAuth.Core提供的`ExecuteWithTransaction`处理。如下: 如果在一个事务里面有多次`SaveChanges()`的情况需要使用OpenAuth.Net提供的`ExecuteWithTransaction`处理。如下:
```csharp ```csharp
//代码详见TestTransaction.cs/NormalSubmit() //代码详见TestTransaction.cs/NormalSubmit()

16
docs/pro/keepalive.md Normal file
View File

@ -0,0 +1,16 @@
# 界面缓存
OpenAuth.Pro以前的版本采用vue [keepAlive](https://cn.vuejs.org/guide/built-ins/keep-alive.html)的方式缓存所有前端组件。从v5.2版本开始,可以在【模块管理】中配置前端是否缓存。如图:
![20231230210713](http://img.openauth.net.cn/20231230210713.png)
::: tip 提示
目前框架除了【消息日志/系统日志】外,其他界面都是默认自动缓存的。
:::