This commit is contained in:
宋伟佳
2021-10-16 09:33:58 +08:00
parent 7142b4f322
commit 9229392fcf
2 changed files with 6 additions and 2 deletions
+3 -1
View File
@@ -134,7 +134,9 @@
*/
getMenu () {
return new Promise((resolve, reject) => {
this.$http.get('sarUser/user/menu', {}, {
this.$http.get('sarUser/user/menu', {
userId: this.$store.getters.userInfo.userId,
}, {
_this: this,
}, res => {
if (res.ok) {
+3 -1
View File
@@ -29,7 +29,9 @@
*/
getMenu () {
return new Promise((resolve, reject) => {
this.$http.get('sarUser/user/menu', {}, {
this.$http.get('sarUser/user/menu', {
userId: this.$store.getters.userInfo.userId,
}, {
_this: this,
}, res => {
if (res.ok) {