哦吼吼 6 سال پیش
والد
کامیت
21c882e5d5
1فایلهای تغییر یافته به همراه3 افزوده شده و 2 حذف شده
  1. 3 2
      admin-update/src/components/role-set.vue

+ 3 - 2
admin-update/src/components/role-set.vue

@@ -66,7 +66,8 @@ export default {
 		init() {
 		init() {
 			this._getTreeB().then(res => {
 			this._getTreeB().then(res => {
 				console.log('res', res);
 				console.log('res', res);
-				// this._getAuthB
+				if (this.$constant.)
+				this._getAuthB()
 			});
 			});
 		},
 		},
 		async _getTreeB() {
 		async _getTreeB() {
@@ -83,7 +84,7 @@ export default {
 		},
 		},
 		async _getAuthB() {
 		async _getAuthB() {
 			let data = {};
 			let data = {};
-			await this.$service.common.permAuth().then(res => {
+			await this.$service.auth.authList({ roleId: this.info.roleId }).then(res => {
 				data = res;
 				data = res;
 			});
 			});
 			return data;
 			return data;