摘要: <el-button type="primary" size="mini" @click="batchDownload">下载</el-button> batchDownload() { let params = { zipName: 'xx', numbers: this.numTextarea, 阅读全文
posted @ 2022-11-16 14:40 博仔show 阅读(1557) 评论(0) 推荐(0) 编辑
摘要: 遇到的问题 在开发项目过程中,可能会遇到不同node版本问题 之前我是官方下载对应版本使用,在不适用的项目卸载掉,在重新安装,但是如果项目之间 会频繁的切换这样就太麻烦了 ,所以我决定用nvm来管理node 版本 使用方法 nvm 下载地址 https://github.com/coreybutle 阅读全文
posted @ 2022-02-10 16:07 博仔show 阅读(1722) 评论(0) 推荐(0) 编辑
摘要: 最近在做项目的时候发现一个vant 日期区间 组件默认选中当前日期的问题 官网的代码是这样的 <van-cell title="选择日期区间" :value="date" @click="show = true" /> <van-calendar v-model="show" type="range 阅读全文
posted @ 2020-10-10 16:10 博仔show 阅读(7711) 评论(0) 推荐(0) 编辑
摘要: <el-table-column label="是否通过" align="center"> <template slot-scope="scope"> <el-switch v-model="scope.row.isFinish" disabled @click.native="setSwitch( 阅读全文
posted @ 2020-09-11 14:53 博仔show 阅读(1228) 评论(0) 推荐(0) 编辑
摘要: 通过样式修改element表格内编辑 https://www.jianshu.com/p/79f39f2c1382 阅读全文
posted @ 2020-08-13 14:53 博仔show 阅读(2160) 评论(0) 推荐(0) 编辑
摘要: <el-table-column v-if="isShowDel" label="是否通过" align="center"> <template slot-scope="scope"> <el-switch v-model="scope.row.isFinish" disabled @click.n 阅读全文
posted @ 2020-08-06 16:26 博仔show 阅读(410) 评论(0) 推荐(0) 编辑
摘要: https://blog.csdn.net/sayoko06/article/details/86131498 前端向后端传值的时候,有时候需要传数组 格式化数组参数的三种方法 1 qs.stringify({ a: ['b', 'c'] }, { arrayFormat: 'indices' }) 阅读全文
posted @ 2020-08-04 11:28 博仔show 阅读(3252) 评论(0) 推荐(0) 编辑
摘要: 最近用cli3框架开发一个项目,但是npm run dev 启动起来F12 调试都是webpack打包后的代码,调试起来很费劲 在项目中的vue.config.js 配置 module.exports = { configureWebpack: { devtool: 'source-map' } } 阅读全文
posted @ 2020-04-24 13:39 博仔show 阅读(2014) 评论(0) 推荐(1) 编辑
摘要: 头一次配置vscode这么好用 首先先安装依赖 "eslint": "^4.19.1", "eslint-friendly-formatter": "^4.0.1", "eslint-loader": "^2.0.0", "eslint-plugin-html": "^4.0.3", npm ins 阅读全文
posted @ 2020-04-22 14:17 博仔show 阅读(2680) 评论(0) 推荐(0) 编辑
摘要: 1、在 utils 中新建 directives.js 文件 import Vue from 'vue' // v-dialogDrag: 弹窗拖拽 Vue.directive('dialogDrag', { bind(el, binding, vnode, oldVnode) { const di 阅读全文
posted @ 2020-02-28 08:59 博仔show 阅读(2936) 评论(0) 推荐(0) 编辑