随笔 - 114,  文章 - 0,  评论 - 0,  阅读 - 70373
09 2021 档案
vue 中用变量控制要调用的方法
摘要:changeMethod ( method ){ this[ method ] () } // 根据传入的mothod名称,选择调用的方法 如: mounted() { this.changeMethod ( "getData" ) // 调用getData方法 } methods: getData 阅读全文
posted @ 2021-09-15 15:13 occc 阅读(310) 评论(0) 推荐(0) 编辑
pdf文件嵌入页面展示(引用)
摘要:https://www.cnblogs.com/steamed-twisted-roll/p/9648255.html 最近做项目,遇到预览PDF这个功能,在网上找了找,大多推荐的是pdf.js,不过在Vue中还是想偷懒直接npm组件,最后找到了一个还不错的Vue-pdf 组件,GitHub地址:h 阅读全文
posted @ 2021-09-10 17:09 occc 阅读(1080) 评论(0) 推荐(0) 编辑

< 2025年3月 >
23 24 25 26 27 28 1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 31 1 2 3 4 5

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