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
阅读全文
摘要:iframe 内嵌页面 传参 //父页面触发this.$refs.mainIframe.contentWindow.postMessage(this.showIndex, '*') //子页面iframe 接收 mounted() { let _this = this window.addEvent
阅读全文
摘要:directives: { preventReClick: { inserted(el, binding) { el.addEventListener('click', () => { if (!el.disabled) { el.disabled = true setTimeout(() => {
阅读全文
摘要:<br><br><br>//全屏按钮 video::-webkit-media-controls-fullscreen-button { display: none; } //播放按钮 video::-webkit-media-controls-play-button { display: none
阅读全文
摘要:// 区分ie浏览器和chrome浏览器实现修改文件名 function downloadFile(url, fileName) { axios({ method: 'get', url: url, // data: encryptList.Encrypt(JSON.stringify(params
阅读全文