mirror of
https://github.com/m-xlsea/ruoyi-plus-soybean.git
synced 2025-09-24 07:49:47 +08:00
feat(projects): Add current time display option for watermark (#772)
* feat(projects): Add current time display option for watermark * perf(projects): add watermark timer controls
This commit is contained in:
8
src/typings/app.d.ts
vendored
8
src/typings/app.d.ts
vendored
@ -114,6 +114,10 @@ declare namespace App {
|
||||
text: string;
|
||||
/** Whether to use user name as watermark text */
|
||||
enableUserName: boolean;
|
||||
/** Whether to use current time as watermark text */
|
||||
enableTime: boolean;
|
||||
/** Time format for watermark text */
|
||||
timeFormat: string;
|
||||
};
|
||||
/** define some theme settings tokens, will transform to css variables */
|
||||
tokens: {
|
||||
@ -420,10 +424,14 @@ declare namespace App {
|
||||
resetCacheStrategy: { title: string } & Record<UnionKey.ResetCacheStrategy, string>;
|
||||
};
|
||||
general: {
|
||||
title: string;
|
||||
watermark: {
|
||||
title: string;
|
||||
visible: string;
|
||||
text: string;
|
||||
enableUserName: string;
|
||||
enableTime: string;
|
||||
timeFormat: string;
|
||||
};
|
||||
multilingual: {
|
||||
title: string;
|
||||
|
Reference in New Issue
Block a user