mirror of
https://gitee.com/dapppp/ruoyi-plus-vben5.git
synced 2026-03-16 20:02:00 +08:00
chore: merge
This commit is contained in:
@@ -112,11 +112,16 @@ function handleViewAll() {
|
||||
message.warning('暂未开放');
|
||||
}
|
||||
watch(
|
||||
() => preferences.app.watermark,
|
||||
async (enable) => {
|
||||
() => ({
|
||||
enable: preferences.app.watermark,
|
||||
content: preferences.app.watermarkContent,
|
||||
}),
|
||||
async ({ enable, content }) => {
|
||||
if (enable) {
|
||||
await updateWatermark({
|
||||
content: `${userStore.userInfo?.username} - ${userStore.userInfo?.realName}`,
|
||||
content:
|
||||
content ||
|
||||
`${userStore.userInfo?.username} - ${userStore.userInfo?.realName}`,
|
||||
});
|
||||
} else {
|
||||
destroyWatermark();
|
||||
|
||||
Reference in New Issue
Block a user