Commit 32733771 authored by 张伯涛's avatar 张伯涛

修改

parent 5ff82304
...@@ -18,7 +18,11 @@ ...@@ -18,7 +18,11 @@
</div> </div>
<el-row> <el-row>
<el-col :span="7"> <el-col :span="7">
<el-scrollbar> <div style="padding: 70px" v-if="dictTypeList.length === 0">
<el-image :src="url"></el-image>
<div style="text-align: center;font-size: 20px;color: #d6d6d6">暂无数据</div>
</div>
<el-scrollbar v-else>
<el-menu :default-active="activeIndex"> <el-menu :default-active="activeIndex">
<el-menu-item <el-menu-item
v-for="(item, index) in dictTypeList" v-for="(item, index) in dictTypeList"
...@@ -134,6 +138,7 @@ export default { ...@@ -134,6 +138,7 @@ export default {
}, },
data() { data() {
return { return {
url: require('../../assets/image/noData.png'),
unitDialog: false, unitDialog: false,
zunitList: [], zunitList: [],
unitForm: { unitForm: {
......
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