完善工程
This commit is contained in:
@@ -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',
|
||||||
|
|||||||
Reference in New Issue
Block a user