代码规范化

This commit is contained in:
redamancy-qian
2022-04-16 13:57:26 +08:00
parent 00d9340825
commit 36afa809c4
28 changed files with 60 additions and 56 deletions

View File

@@ -96,9 +96,9 @@ export default {
getList() {
this.loading = true;
// 判断是否是admin角色
if (this.$store.state.user.roles.indexOf("admin") === -1){
this.queryParams.tenantName = this.$store.state.user.name
}
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;