正则表达式

摘要: fields[element.fieldCode].decorator.rules.push({ pattern: "^((^[HMhm](\\d{8}|\\d{10})$)|(^(\\d{8}|^[a-zA-Z]{1}(\\d{7}))$)|(^[1-9]\\d{7}((0\\d)|(1[0-2] 阅读全文
posted @ 2021-10-11 14:54 阿政kris* 阅读(23) 评论(0) 推荐(0) 编辑

不太好用canvas 版本

摘要: <template> <view class="canvas-wrapper"> <canvas type="2d" @click="save" id="shareImage" v-if="!canvasPath" class="canvas" /> <img v-if="canvasPath" : 阅读全文
posted @ 2021-10-08 09:52 阿政kris* 阅读(46) 评论(0) 推荐(0) 编辑

小程序 画布 cavas

摘要: <template> <view> <!-- <img width="100%" height="90vh" :src="showImg" show-menu-by-longpress /> <button class="saveLocalShow" @click="saveLocal">保存本地< 阅读全文
posted @ 2021-10-08 09:50 阿政kris* 阅读(101) 评论(0) 推荐(0) 编辑

跨域

摘要: https://blog.csdn.net/envon123/article/details/83270277 https://blog.csdn.net/litongzero/article/details/106197522 阅读全文
posted @ 2021-02-05 14:34 阿政kris* 阅读(23) 评论(0) 推荐(0) 编辑

vue 视频

摘要: 学习学习基础知识 播放 hls 1. npm video-player npm hls相关 2. main.js // import VueVideoPlayer from 'vue-video-player' // Vue.use(VueVideoPlayer) 3.相关页面 // import  阅读全文
posted @ 2020-12-25 15:44 阿政kris* 阅读(177) 评论(0) 推荐(0) 编辑

svg 圆形进度条

摘要: <!DOCTYPE html> <html lang="zh-CN"> <head> <meta charset="utf-8"> <title>svg 圆形进度条</title> <meta http-equiv="X-UA-Compatible" content="IE=Edge"> <meta 阅读全文
posted @ 2020-11-23 16:10 阿政kris* 阅读(80) 评论(0) 推荐(0) 编辑

vux 报错

摘要: error in ./node_modules/vux/src/components/v-chart/mixin.js Module parse failed: Unexpected token (18:6) You may need an appropriate loader to handle 阅读全文
posted @ 2020-08-29 17:03 阿政kris* 阅读(412) 评论(0) 推荐(0) 编辑

vue中使用echarts 制作某市各个街道镇的地图

摘要: 我要制作的是青州的各街道镇的地图,于是我上网搜,很感谢这篇文章的作者给的提点和帮助https://www.jianshu.com/p/7337c2f56876 现在我把自己的制作过程做个整理,以山东省潍坊市青州市为例 首先我我先拿到 青州市的geojson。 地址:http://datav.aliy 阅读全文
posted @ 2020-03-01 16:01 阿政kris* 阅读(6844) 评论(0) 推荐(0) 编辑

语法收集

摘要: 数组去除某个元素 let formArr = Object.keys(form); formArr = formArr.filter( key => !["turnStraightDate", "probationDays", "postType", "formalType", "joinDate" 阅读全文
posted @ 2019-12-19 09:28 阿政kris* 阅读(105) 评论(0) 推荐(0) 编辑

jeecg ant design vue 一些收藏

摘要: 1关于 进来清除上次记录 找到src/permission.js下的 2. vue.config.js /* pages: { index: { entry: 'src/main.js', chunks: ['chunk-vendors', 'chunk-common', 'index'] } }, 阅读全文
posted @ 2019-07-26 16:08 阿政kris* 阅读(692) 评论(0) 推荐(0) 编辑