会员
周边
众包
新闻
博问
闪存
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
假装新手
博客园
首页
新随笔
新文章
联系
订阅
管理
1
2
3
4
5
···
7
下一页
2023年7月23日
import { eventemitter } from 'events' eventemitter 等于null
摘要: 运行 cnpm install events --save 不要用 npm package.json "events": "^3.3.0", 报错 Module "events" has been externalized for browser compatibility. Cannot acce
阅读全文
posted @ 2023-07-23 09:49 假装新手
阅读(122)
评论(0)
推荐(0)
编辑
2023年6月28日
vue3 vscode快捷模板
摘要: { "Print to console": { "prefix": "v3", "body": [ "<script setup>", "import { ref, reactive, onBeforeMount, onMounted, onBeforeUpdate, onUpdated, onBe
阅读全文
posted @ 2023-06-28 01:28 假装新手
阅读(139)
评论(0)
推荐(0)
编辑
2022年5月25日
创建react 及package部分说明
摘要: create-react-app 创建项目 打开config配置 如果是已经上传到git上去 就不需要 输入git命令了 直接运行就可以 git init git add git commit -m 'init' npm run eject 配置less 百度上就有 "less": "^3.13.1
阅读全文
posted @ 2022-05-25 17:10 假装新手
阅读(67)
评论(0)
推荐(0)
编辑
2022年4月8日
iframe 微服务嵌套
摘要: iframe基本内涵 通常我们使用iframe直接直接在页面嵌套iframe标签指定src就可以了。 <iframe src="demo_iframe_sandbox.htm"></iframe> 但是,有追求的我们,并不是想要这么low的iframe. 我们来看看在iframe中还可以设置些什么属
阅读全文
posted @ 2022-04-08 10:30 假装新手
阅读(251)
评论(0)
推荐(0)
编辑
2021年12月23日
v2 echarts5 组件
摘要: <!-- tsx 简单图表组件 --> <template> <div class="chart" :style="{height:height,width:width}" :id="id"> </div> </template> <script > // 这里可以导入其他文件(比如:组件,工具js
阅读全文
posted @ 2021-12-23 11:28 假装新手
阅读(75)
评论(0)
推荐(0)
编辑
v2 element 自定义表格 导出XLSX
摘要: <!-- tsx --> <template> <div class="package"> <div v-if="inlineButton&&inlineButton.length>0"> <a-button v-for="i,index in inlineButton" :key="index"
阅读全文
posted @ 2021-12-23 11:24 假装新手
阅读(69)
评论(0)
推荐(0)
编辑
html标签生成图片下载成为pdf
摘要: 2021-12-23 写入mixins里面做成公用的 npm install jspdf npm i html2canvas import html2canvas from "html2canvas" import jsPDF from "jspdf" export const download =
阅读全文
posted @ 2021-12-23 11:02 假装新手
阅读(104)
评论(0)
推荐(0)
编辑
2021年11月22日
最近面试被问到的问题
摘要: 1.组件的之间的传参调方法v3、 props(常用) $emit(常用) expose / ref(常用) provide / inject(常用) Vuex(常用) $attrs v-model mitt v2、 props(常用) $emit / v-on(常用) slot(常用) ref(常用
阅读全文
posted @ 2021-11-22 01:55 假装新手
阅读(25)
评论(0)
推荐(0)
编辑
2021年10月22日
清理缓存微信 浏览器缓存
摘要: 在安卓版微信内打开链接 https://debugx5.qq.com 只要微信用户退出登录,然后重新登录,ios版微信内置浏览器内核即可清除
阅读全文
posted @ 2021-10-22 12:18 假装新手
阅读(622)
评论(0)
推荐(0)
编辑
2021年9月9日
Vue 项目中注意点
摘要: 列表进入详情页的传参问题 例如商品列表页面前往商品详情页面,需要传一个商品id; <router-link :to="{path: 'detail', query: {id: 1}}">前往detail页面</router-link>复制代码 c页面的路径为http://localhost:8080
阅读全文
posted @ 2021-09-09 16:06 假装新手
阅读(235)
评论(0)
推荐(0)
编辑
1
2
3
4
5
···
7
下一页