摘要: 原文:https://blog.csdn.net/twodogya/article/details/80728262 先在vs code中安装Vetur插件 打开Vs Code,文件->首选项->设置,搜索vetur, 将vetur插件的 vetur.format.defaultFormatter. 阅读全文
posted @ 2020-12-09 21:11 Virya 阅读(646) 评论(0) 推荐(0) 编辑
摘要: el-dialog 对话框 <el-dialog :title="showTitle" :visible.sync="myDialogVisible" append-to-body @open="showMap()" destroy-on-close :close-on-click-modal="f 阅读全文
posted @ 2020-12-09 13:53 Virya 阅读(452) 评论(0) 推荐(0) 编辑
摘要: 原文:https://blog.csdn.net/tanmuxue/article/details/60771626 .item .item-cont h4{ overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webk 阅读全文
posted @ 2020-12-07 11:51 Virya 阅读(312) 评论(0) 推荐(0) 编辑
摘要: dplayer官方配置:http://dplayer.js.org/zh/guide.html#hls npm i hls.js -S --registry=http://registry.npm.taobao.org npm i dplayer -S --registry=http://regis 阅读全文
posted @ 2020-11-27 16:38 Virya 阅读(3276) 评论(0) 推荐(0) 编辑
摘要: 原文:https://blog.csdn.net/yannanxiu/article/details/53809600 def getMonthFirstDayAndLastDay(year=None, month=None): """ :param year: 年份,默认是本年,可传int或str 阅读全文
posted @ 2020-11-25 21:30 Virya 阅读(5348) 评论(0) 推荐(0) 编辑
摘要: 参考:https://blog.csdn.net/u013032479/article/details/106384089/ #-*- coding: utf-8 -*- ''' 描述:将多行格式化的字符串进行压缩 (例如格式化的sql,替换多余的空格和换行符进行压缩为一行字符串) 作者:xiawp 阅读全文
posted @ 2020-11-25 21:09 Virya 阅读(580) 评论(0) 推荐(0) 编辑
摘要: 通过触发隐藏的a标签的click事件打开 <a ref="mytarget" class="hidetarget" href="" target="_blank" rel="noopener noreferrer"></a> <xx @click.native="openNewTab('http:/ 阅读全文
posted @ 2020-11-24 15:22 Virya 阅读(2229) 评论(0) 推荐(0) 编辑
摘要: 如下图,每次开机后,PenTableDriverUX会自启动,并询问是否打开。觉得麻烦准备关闭该服务。 打开命令行终端后 ➜ ~ launchctl list | grep Pen 537 0 com.ugee.PenTabletInfo ➜ ~ launchctl list | grep com. 阅读全文
posted @ 2020-11-05 11:53 Virya 阅读(856) 评论(0) 推荐(0) 编辑
摘要: 对于服务端渲染的,要解析html,安装cheerio npm init npm install cheerio --registry=http://registry.npm.taobao.org var fs = require('fs'); var cheerio = require('cheer 阅读全文
posted @ 2020-11-03 15:21 Virya 阅读(300) 评论(0) 推荐(0) 编辑
摘要: 很多网站的反爬,对Linux做了拦截,建议使用Windows或Mac。 参考:https://blog.csdn.net/baidu_27032161/article/details/105529100 先安装node环境,命令行中输入npm,未找到的话,系统会提示安装。 # anyproxy in 阅读全文
posted @ 2020-10-30 17:43 Virya 阅读(321) 评论(0) 推荐(0) 编辑