style: 学生关闭右击样式

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

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');

View File

@@ -80,7 +80,7 @@ const graphNodeMenu = new Menu({
return `<div><span>${label || id}</span></div>`;
}
if (hasRoles(['student'])) {
return '学生2024';
return 'Student';
}
return `
<div