前端多租户调整

This commit is contained in:
kerwincui
2022-06-03 17:21:31 +08:00
parent c9623a5ec6
commit 168d987779
8 changed files with 1 additions and 58 deletions

View File

@@ -154,9 +154,6 @@ export default {
/** 查询产品列表 */
getList() {
this.loading = true;
if (this.$store.state.user.roles.indexOf("admin") === -1){
this.queryParams.tenantName = this.$store.state.user.name
}
listProduct(this.queryParams).then(response => {
this.productList = response.rows;
this.total = response.total;