1. 全局动态加载loading:
    参考文档:https://blog.csdn.net/qq_34825875/article/details/79570301

    在main.js或者index.js引用 import {Loading} from 'element-ui' 

    按照 文档所示修改

  2. vue 设置浏览器图标
    更改根目录下的index.html,在head中加如下代码:
     <link rel="shortcut icon" type="image/x-icon" href="static/favicon.ico"> 
    注意:图标要存放在static文件夹中,将项目中的静态文件都要放在static文件夹中
  3. 表格里显示按钮
    <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>
    View Code

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2021-05-04
  • 2022-02-28
  • 2021-10-27
  • 2021-12-05
猜你喜欢
  • 2022-12-23
  • 2022-02-14
  • 2022-12-23
  • 2022-02-10
  • 2022-12-23
  • 2021-11-21
相关资源
相似解决方案