|
|
@ -96,7 +96,8 @@ export default { |
|
|
components: {Foot, headInfo}, |
|
|
components: {Foot, headInfo}, |
|
|
data() { |
|
|
data() { |
|
|
return { |
|
|
return { |
|
|
userName: "李明", |
|
|
userName: "", |
|
|
|
|
|
userType:0, |
|
|
mulu: [ |
|
|
mulu: [ |
|
|
{id: 0, name: "图文资源", info: "TwInfo"}, |
|
|
{id: 0, name: "图文资源", info: "TwInfo"}, |
|
|
{id: 1, name: "视频资源", info: "SpInfo"}, |
|
|
{id: 1, name: "视频资源", info: "SpInfo"}, |
|
|
@ -169,6 +170,8 @@ export default { |
|
|
} |
|
|
} |
|
|
}, |
|
|
}, |
|
|
mounted() { |
|
|
mounted() { |
|
|
|
|
|
this.userType = localStorage.getItem("type"); |
|
|
|
|
|
this.userName = localStorage.getItem("name"); |
|
|
this.getContentList(); |
|
|
this.getContentList(); |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
|