style: 学生关闭右击样式
This commit is contained in:
@@ -137,7 +137,8 @@ const useUserStore = defineStore('user', {
|
|||||||
if (this.phonenumber) {
|
if (this.phonenumber) {
|
||||||
waterMarkContent = `${this.userName} ${this.phonenumber}`;
|
waterMarkContent = `${this.userName} ${this.phonenumber}`;
|
||||||
}
|
}
|
||||||
useLayoutStore().changeWaterMark(waterMarkContent);
|
// useLayoutStore().changeWaterMark(waterMarkContent);
|
||||||
|
useLayoutStore().changeWaterMark('');
|
||||||
// 学生布局用不一样的
|
// 学生布局用不一样的
|
||||||
if (this.roles.includes('student')) {
|
if (this.roles.includes('student')) {
|
||||||
useLayoutStore().changeConf('layout', 'side');
|
useLayoutStore().changeConf('layout', 'side');
|
||||||
|
|||||||
@@ -80,7 +80,7 @@ const graphNodeMenu = new Menu({
|
|||||||
return `<div><span>${label || id}</span></div>`;
|
return `<div><span>${label || id}</span></div>`;
|
||||||
}
|
}
|
||||||
if (hasRoles(['student'])) {
|
if (hasRoles(['student'])) {
|
||||||
return '学生2024';
|
return 'Student';
|
||||||
}
|
}
|
||||||
return `
|
return `
|
||||||
<div
|
<div
|
||||||
|
|||||||
Reference in New Issue
Block a user