style: 学生关闭右击样式

This commit is contained in:
TsMask committed 2024-07-27 16:14:59 +08:00
1 parent 292488f20c
commit 52d5b9b732
2 files changed
+3 -2

No files matched your search

+2 -1
View File
@@ -137,7 +137,8 @@ const useUserStore = defineStore('user', {
if (this.phonenumber) {
waterMarkContent = `${this.userName} ${this.phonenumber}`;
}
useLayoutStore().changeWaterMark(waterMarkContent);
// useLayoutStore().changeWaterMark(waterMarkContent);
useLayoutStore().changeWaterMark('');
// 学生布局用不一样的
if (this.roles.includes('student')) {
useLayoutStore().changeConf('layout', 'side');
@@ -80,7 +80,7 @@ const graphNodeMenu = new Menu({
return `<div><span>${label || id}</span></div>`;
}
if (hasRoles(['student'])) {
return '学生2024';
return 'Student';
}
return `
<div