摘要:
在模板文件中引入 <component :is="handleComponent" /> 在js中使用 const handleView = (viewUrl) => import('../' + viewUrl) //引入文件路径 export default { data(){ return { 阅读全文
摘要:
安装插件vue-pdf npm install vue-pdf --save 在vue中使用 import pdf from 'vue-pdf' data() { return { src: '', numPages: undefined, loadNum: 0 } }, const loading 阅读全文
摘要:
app.js中引入koa npm install koa 安装koa-bodyparser,解析post数据 npm install koa-bodyparser 安装数据库链接sequelize npm install sequelize 安装koa路由koa-router npm install 阅读全文