vue 中使用svg
摘要:1.安装依赖 npm install svg-sprite-loader --save-dev 2.在src/components下新建文件夹及文件SvgIcon/index.vue <template> <svg :class="svgClass" aria-hidden="true" v-on=
阅读全文
posted @
2020-10-08 16:46
西门夜说
阅读(1453)
推荐(1)
elementui table表格 多对一设计 合并
摘要:<template> <BoxCorner> <el-container style="border: 1px none #04c6ee;height: 100%"> <el-main> <el-container style="border: 1px none #04c6ee;height: 10
阅读全文
posted @
2020-06-28 17:32
西门夜说
阅读(2252)
推荐(0)
v-for 点击按钮样式切换 切换表格
摘要:<template> <div > <el-container v-if="mineSurveyAndGovernStatus.mineSurveyStatus '历史遗留矿山'&&mineSurveyAndGovernStatus.governState '已治理(含自然修复)'"> <el-as
阅读全文
posted @
2020-06-18 11:34
西门夜说
阅读(412)
推荐(0)
elementui Form表单校验 侧边栏 Notification提示校验信息
摘要:<el-main style="overflow-y: auto;text-align: -webkit-center"> <div class="base-info-form" style="padding:20px;width:50%"> <el-form @validate="validate
阅读全文
posted @
2020-05-08 15:27
西门夜说
阅读(2441)
推荐(1)
elementui table 表格前三行第三列数据标红
摘要:1 <el-table 2 :cell-class-name="tableCellClassName" 3 height="350px" 4 :data="tableData" 5 style="width: 100%"> 6 <el-table-column 7 type="index" 8 la
阅读全文
posted @
2020-04-09 16:48
西门夜说
阅读(2102)
推荐(0)
elementui Tree 树形控件增删改查
摘要:数据表结构: 前端代码 axios.js import axios from 'axios'; import Qs from 'qs'; import {Message} from 'element-ui'; axios.defaults.baseURL = "/"; // 设置请求超时时间 axi
阅读全文
posted @
2020-02-02 22:25
西门夜说
阅读(15362)
推荐(1)
elementui Tree 树形控件
摘要:数据表结构: 后端代码: @RequestMapping(value = "/list", method = RequestMethod.POST) public Result findCategory(){ List<Category> list = categoryService.findCat
阅读全文
posted @
2020-01-19 00:25
西门夜说
阅读(17793)
推荐(3)