01 2022 档案

摘要:// 上移 moveUp(index) { console.log(index, 'moveUp'); if (index > 0) { let update = this.list[index - 1] this.list.splice(index - 1, 1) this.list.splice 阅读全文
posted @ 2022-01-26 16:18 张小中 阅读(67) 评论(0) 推荐(0) 编辑
摘要:iframe 内嵌页面 传参 //父页面触发this.$refs.mainIframe.contentWindow.postMessage(this.showIndex, '*') //子页面iframe 接收 mounted() { let _this = this window.addEvent 阅读全文
posted @ 2022-01-13 10:55 张小中 阅读(311) 评论(0) 推荐(0) 编辑
摘要:directives: { preventReClick: { inserted(el, binding) { el.addEventListener('click', () => { if (!el.disabled) { el.disabled = true setTimeout(() => { 阅读全文
posted @ 2022-01-12 17:39 张小中 阅读(76) 评论(0) 推荐(0) 编辑
摘要:<br><br><br>//全屏按钮 video::-webkit-media-controls-fullscreen-button { display: none; } //播放按钮 video::-webkit-media-controls-play-button { display: none 阅读全文
posted @ 2022-01-09 19:32 张小中 阅读(3745) 评论(0) 推荐(1) 编辑
摘要:// 区分ie浏览器和chrome浏览器实现修改文件名 function downloadFile(url, fileName) { axios({ method: 'get', url: url, // data: encryptList.Encrypt(JSON.stringify(params 阅读全文
posted @ 2022-01-05 16:07 张小中 阅读(318) 评论(0) 推荐(0) 编辑

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