完善工程

This commit is contained in:
仲么了
2023-03-01 08:51:06 +08:00
parent 80ba96be50
commit 4f2744f137

View File

@@ -157,6 +157,7 @@ export default {
console.log(userInfo.role); console.log(userInfo.role);
switch (userInfo.role) { switch (userInfo.role) {
case 1: case 1:
this.content.splice(0, 1)
this.content.splice(0, 0, { this.content.splice(0, 0, {
iconPath: '/static/version.png', iconPath: '/static/version.png',
text: '版本', text: '版本',
@@ -165,6 +166,9 @@ export default {
text: '模版', text: '模版',
}) })
break; break;
case 2:
this.content.splice(0, 1)
break;
case 3: case 3:
this.content.splice(0, 0, { this.content.splice(0, 0, {
iconPath: '/static/transfer.png', iconPath: '/static/transfer.png',