随笔分类 - .net core + vue + element前后端分离
摘要:首先引入组件 npm install --save html2canvas npm install jspdf --save 在需要导出pdf的页面引入 import { jsPDF } from "jspdf"; import html2canvas from 'html2canvas'; 将当前
阅读全文
摘要:github上其实已经有这个问题的解决方案,有兴趣的可以直接去看: https://github.com/dotnet/aspnetcore/issues/14723 我的解决方案是基于.netcore 3.1,vs版本是vs2019 16.8.4; 产生这个问题的原因在于同时分析器中同时存在两个版
阅读全文
摘要:1、首先我们可以看下官网的例子: <template> <el-button type="text" @click="open">点击打开 Message Box</el-button> </template> <script> export default { methods: { open()
阅读全文
摘要:这是组件内报错,将Type类型改为[Number, String]即可 props: { count: { type: Number, default: 0 }, } 改为 props: { count: { type: [Number, String], default: 0 }, }
阅读全文
摘要:软件下载这里就不用讲了,安装完之后: 1、切换中文: 选择扩展 搜索“Language”,在下列选项选择 Chinese (Simplified) Language Pack for Visual Studio Code安装,安装完后编辑器右下方提示是否切换到中文语言版本,确定即可
阅读全文
摘要:查找一些资料,比较了elementui以及Iview,最终还是选择了elementui搭建前后端分离框架,废话少说了,开始搭建环境: 1、基础软件环境 vue开发环境安装: ①nodejs (我安装的版本是node-v10.13.0-x64.msi) ②git (这里我安装的版本是Git-2.19.
阅读全文