12 2022 档案

摘要:基础正则表达式速查表 转自:https://www.r2coding.com/#/ 字符 表达式 描述 [abc] 字符集。匹配集合中所含的任一字符。 [^abc] 否定字符集。匹配任何不在集合中的字符。 [a-z] 字符范围。匹配指定范围内的任意字符。 . 匹配除换行符以外的任何单个字符。 \ 转 阅读全文
posted @ 2022-12-30 14:32 huihuihero 阅读(74) 评论(0) 推荐(0) 编辑
摘要:在上传文件的时候,需要限制指定的文件类型。 <input type="file" accept="image/*" /> accept表示可以上传文件类型,image表示图片,*表示所有支持的格式。accept暂时只支持type="file" zip rar zip是accept=".applica 阅读全文
posted @ 2022-12-29 15:59 huihuihero 阅读(4026) 评论(0) 推荐(0) 编辑
摘要://分享给朋友 wxManShare(){ if(this.$platform=='android'){ let iurl=this.liveInfo.limg uni.share({ provider: "weixin", scene: "WXSceneSession", type: 0, hre 阅读全文
posted @ 2022-12-28 17:15 huihuihero 阅读(852) 评论(0) 推荐(0) 编辑
摘要:借鉴: https://blog.csdn.net/m0_48468380/article/details/121577011 流程图 贴下封装的request.js代码 import axios from "axios"; import JsCookie from "js-cookie"; imp 阅读全文
posted @ 2022-12-15 09:59 huihuihero 阅读(762) 评论(0) 推荐(0) 编辑
摘要:##官网:https://panjiachen.github.io/vue-element-admin-site/zh/ ##安装过程报错 ###tui-editor更名toast-ui/editor导致的报错 https://blog.csdn.net/lilikk1314/article/det 阅读全文
posted @ 2022-12-12 10:46 huihuihero 阅读(197) 评论(0) 推荐(0) 编辑
摘要:###vue2版本移步至 https://www.cnblogs.com/huihuihero/p/13877589.html ###vue3版本中配置tinymce,相较于vue2版本区别不大,主要注意需要变更版本号 【vue2.0+tinymce】我采用的是 "@tinymce/tinymce- 阅读全文
posted @ 2022-12-09 17:26 huihuihero 阅读(2171) 评论(0) 推荐(0) 编辑
摘要:props(父传子,多用于 子组件需要渲染父组件中的数据) 【父】 <div> <comp-son :name="name" :age="age" /> //向子组件传值 </div> setup() { const state = reactive({ name: "Jack", age: 18 阅读全文
posted @ 2022-12-02 11:26 huihuihero 阅读(1084) 评论(0) 推荐(1) 编辑

点击右上角即可分享
微信分享提示