Commit 0e978c59 by ‘巴博尔’

修改bug

parent d1accf94
......@@ -351,7 +351,8 @@ export default {
display: flex;
flex-wrap: wrap;
&-item {
flex: 0 0 20%;
// flex: 0 0 20%;
width: 20%;
padding: 10px 20px;
box-shadow: 0 0 10px 4px #e9e5e5;
border-radius: 10px;
......
......@@ -100,7 +100,7 @@
key="title"
:show-overflow-tooltip="true"
/>
<el-table-column label="商品类别" align="center" prop="categoryId" />
<el-table-column label="商品类别" align="center" prop="categoryName" />
<el-table-column label="标签" align="center" prop="list" key="list">
<template slot-scope="{ row }">
<i class="el el-tag" v-for="(item, index) in row.list" :key="index">{{
......
......@@ -122,13 +122,13 @@
<el-table-column
label="收藏数"
align="center"
prop="appreciateNum"
prop="collectNum"
:show-overflow-tooltip="true"
/>
<el-table-column
label="点赞数"
align="center"
prop="collectNum"
prop="appreciateNum"
:show-overflow-tooltip="true"
/>
<el-table-column
......
......@@ -678,12 +678,12 @@ export default {
watch: {
// 根据名称筛选部门树
deptName(val) {
this.$refs.tree.filter(val);
// this.$refs.tree.filter(val);
},
},
created() {
this.getList();
this.getDeptTree();
// this.getDeptTree();
this.getConfigKey("sys.user.initPassword").then((response) => {
this.initPassword = response.msg;
});
......
......@@ -354,7 +354,8 @@ export default {
display: flex;
flex-wrap: wrap;
&-item {
flex: 0 0 20%;
// flex: 0 0 20%;
width: 20%;
padding: 10px 20px;
box-shadow: 0 0 10px 4px #e9e5e5;
border-radius: 10px;
......
......@@ -780,15 +780,15 @@ export default {
watch: {
// 根据名称筛选部门树
deptName(val) {
this.$refs.tree.filter(val);
// this.$refs.tree.filter(val);
},
},
created() {
this.getList();
this.getDeptTree();
this.getConfigKey("sys.user.initPassword").then((response) => {
this.initPassword = response.msg;
});
// this.getDeptTree();
// this.getConfigKey("sys.user.initPassword").then((response) => {
// this.initPassword = response.msg;
// });
},
methods: {
changeStatus(e, row) {
......
......@@ -751,15 +751,15 @@ export default {
watch: {
// 根据名称筛选部门树
deptName(val) {
this.$refs.tree.filter(val);
// this.$refs.tree.filter(val);
},
},
created() {
this.getList();
this.getDeptTree();
this.getConfigKey("sys.user.initPassword").then((response) => {
this.initPassword = response.msg;
});
// this.getDeptTree();
// this.getConfigKey("sys.user.initPassword").then((response) => {
// this.initPassword = response.msg;
// });
},
methods: {
changeStatus(e, row) {
......
......@@ -691,15 +691,15 @@ export default {
watch: {
// 根据名称筛选部门树
deptName(val) {
this.$refs.tree.filter(val);
// this.$refs.tree.filter(val);
},
},
created() {
this.getList();
this.getDeptTree();
this.getConfigKey("sys.user.initPassword").then((response) => {
this.initPassword = response.msg;
});
// this.getDeptTree();
// this.getConfigKey("sys.user.initPassword").then((response) => {
// this.initPassword = response.msg;
// });
},
methods: {
/** 查询用户列表 */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment