上一页 1 2 3 4 5 6 7 ··· 10 下一页
摘要: 1.如何在打包之后,把动态配置文件比如【config.json】放在根目录,不被打包到asar文件中 //解决思路,electron可以拷贝静态资源,比如你把config.json放在项目的根目录下,打包时候打包到EXE根目录下即可。 "build": { "productName": "machi 阅读全文
posted @ 2021-02-01 10:04 奔跑吧前端(李钊) 阅读(6504) 评论(0) 推荐(0) 编辑
摘要: 1.报错信息没有安装python环境 1 gyp ERR! find Python 2 gyp ERR! find Python Python is not set from command line or npm configuration 3 gyp ERR! find Python Pytho 阅读全文
posted @ 2021-01-27 15:11 奔跑吧前端(李钊) 阅读(889) 评论(0) 推荐(0) 编辑
摘要: npm i v-charts echarts -S 引入 import VCharts from 'v-charts' Vue.use(VCharts) 后发现报错,后来发现安装echarts版本太高使用4.8.0是没有问题的 npm install echarts@^4.8.0 阅读全文
posted @ 2021-01-07 10:16 奔跑吧前端(李钊) 阅读(344) 评论(0) 推荐(0) 编辑
摘要: 找到源码animate.css修改以下代码 :root { --animate-duration: 1s; --animate-delay: 1s; --animate-repeat: 1; } //修改为 page { --animate-duration: 1s; --animate-delay 阅读全文
posted @ 2020-12-30 14:07 奔跑吧前端(李钊) 阅读(884) 评论(0) 推荐(0) 编辑
摘要: 更改router 的base // biz是二级目录,路由文件改成 const router = new VueRouter({ mode: 'history', // base: process.env.BASE_URL, base: '/biz/', // biz是二级目录 routes }) 阅读全文
posted @ 2020-12-22 18:06 奔跑吧前端(李钊) 阅读(965) 评论(0) 推荐(0) 编辑
摘要: let arr=[{ title:'1', key:'1', type:0, children:[{ title:'1-1', key:'1-1', type:0, }] },{ title:'2', key:'2', type:0, children:[] },{ title:'3', key:' 阅读全文
posted @ 2020-12-17 13:54 奔跑吧前端(李钊) 阅读(1951) 评论(0) 推荐(0) 编辑
摘要: npm i v-charts echarts -S 1.在main.js中使用报以下错 liquidFill echarts/lib/visual/dataColor 找不到 出现此原因是因为版本问题 npm WARN echarts-liquidfill@2.0.6 requires a peer 阅读全文
posted @ 2020-12-08 14:58 奔跑吧前端(李钊) 阅读(1045) 评论(0) 推荐(0) 编辑
摘要: 1.从云数据库随机取出3条记录【这里使用了聚合操作aggregate】 let data = await db.collection('bookList').aggregate().sample({ size:3//随机取出3条记录 }).project({ chapter:false//当前字段不 阅读全文
posted @ 2020-10-13 15:45 奔跑吧前端(李钊) 阅读(205) 评论(0) 推荐(0) 编辑
摘要: 'use strict'; let request = require('request') let cheerio = require('cheerio'); //爬虫 let iconv = require('iconv-lite'); //处理gbk编码的网页 let Entities = r 阅读全文
posted @ 2020-09-27 11:31 奔跑吧前端(李钊) 阅读(1360) 评论(0) 推荐(0) 编辑
摘要: 1新建项目 想要全屏显示并适应所有尺寸的iPad和iphone 需要用750*1624 2X 和 1125 * 2436 3X大小的图片 这里做完就可以导出文件了 把文件和图片放到一起 见下图 命名规范 dc_launchscreen_background@2x dc_launchscreen_ba 阅读全文
posted @ 2020-09-24 13:39 奔跑吧前端(李钊) 阅读(3121) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 ··· 10 下一页