随笔分类 -  vue

摘要:表格中的值怎么计算呢? <el-table-column sortable label="LENGTH(cm)" width="150px" align="center" prop="length" :show-overflow-tooltip="true"> <template slot-scop 阅读全文
posted @ 2022-09-25 19:00 panie2015 阅读(550) 评论(0) 推荐(0) 编辑
摘要:安装依赖 yarn add --save xlsx file-saver 1、添加导出按钮以及点击事件 <el-button type="primary" round @click="exportClick ">导出表格</el-button> 2、在table表格中添加id <el-table : 阅读全文
posted @ 2022-09-25 18:00 panie2015 阅读(1922) 评论(0) 推荐(0) 编辑
摘要:在 Vue3 + Element Plus 中生成动态表格 git clone https://github.com/kalacloudCode/how-to-build-dynamic-table-in-vue-element-plus.git 参考博客 : vue3 + Element Plus 阅读全文
posted @ 2022-09-25 17:15 panie2015 阅读(86) 评论(0) 推荐(0) 编辑
摘要:最终版 git clone https://gitee.com/mywink/vite-electron.git yarn yarn build yarn dev 从github 上下载这个项目, 运行, 就得到了 electron 桌面版的项目, 采用 vue3 来写的项目, 并且可以打包成 ex 阅读全文
posted @ 2022-09-21 15:45 panie2015 阅读(178) 评论(0) 推荐(0) 编辑
摘要:【官网链接】(https://www.iviewui.com/) 采用 npm 运行 git clone https://github.com/view-design/view-ui-project-vite.git cd view-ui-project-vite # 安装 npm install 阅读全文
posted @ 2022-09-19 23:28 panie2015 阅读(85) 评论(0) 推荐(0) 编辑
摘要:【错误提示】 npm WARN EBADENGINE Unsupported engine { npm WARN EBADENGINE package: 'v-click-outside-x@3.7.1', npm WARN EBADENGINE required: { node: '>=8.11. 阅读全文
posted @ 2022-09-19 23:22 panie2015 阅读(17541) 评论(0) 推荐(1) 编辑
摘要:【错误提示】 npm WARN deprecated popper.js@1.16.1: You can find the new Popper v2 at @popperjs/core, this package is dedicated to the legacy v1 【错误原因】 版本过期, 阅读全文
posted @ 2022-09-19 23:07 panie2015 阅读(921) 评论(0) 推荐(0) 编辑
摘要:1. 父子组件调用 父页面有一个 msg 为父组件传给子组件的参数,@sendMsg 为接收子组件返回的参数的方法 父页面 <template> <div class="home"> <TheWelcome msg="Home" @sendMsg="handle"></TheWelcome> </d 阅读全文
posted @ 2022-09-19 19:58 panie2015 阅读(188) 评论(0) 推荐(0) 编辑
摘要:参考链接: Vite+Electron快速构建一个VUE3桌面应用(一) 1. 创建一个Vite项目 安装 vite 并创建项目, 输入项目名, 模板采用 vue ,其他的根据情况,可以先全部No yarn create vite 创建完成后, 进入项目,在运行前需要先安装下依赖。 cd <your 阅读全文
posted @ 2022-09-19 18:43 panie2015 阅读(104) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示