-
全局动态加载loading:
参考文档:https://blog.csdn.net/qq_34825875/article/details/79570301在main.js或者index.js引用 import {Loading} from 'element-ui'
按照 文档所示修改
-
vue 设置浏览器图标更改根目录下的index.html,在head中加如下代码:
<link rel="shortcut icon" type="image/x-icon" href="static/favicon.ico">注意:图标要存放在static文件夹中,将项目中的静态文件都要放在static文件夹中 -
表格里显示按钮
View Code
<el-table-column prop="option" label="操作" align="center" > <template slot-scope="scope"> <el-button size="mini" plain @click="del(scope.$index,scope.row)">删除</el-button> <el-button size="mini" plain @click="[edit(scope.$index,scope.row),editVisible =true]">修改</el-button> </template> </el-table-column>
相关文章: