技术就餐

导航

2022年2月21日 #

后端返回二进制excel,如何下载

摘要: axios({ url: config.Urls.serverUrl + "/load/airdoc/result/export/getAppraisalData", method: "POST", responseType: "blob", data: param, }).then((res) = 阅读全文

posted @ 2022-02-21 14:17 技术就餐 阅读(76) 评论(0) 推荐(0) 编辑

2022年1月6日 #

在微信浏览器中,H5的audio无法自动播放问题的解决方法

摘要: this.$nextTick(function () { let video = this.$refs.aplayer; if ( typeof WeixinJSBridge == "object" && typeof WeixinJSBridge.invoke == "function" ) { 阅读全文

posted @ 2022-01-06 16:19 技术就餐 阅读(478) 评论(0) 推荐(0) 编辑

2021年12月17日 #

canvas水波上涨进度动画

摘要: canvas水波上涨进度动画 <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8" /> <title>水波上涨进度动画</title> <style> body { display: flex; flex-flow: column wrap; justify 阅读全文

posted @ 2021-12-17 21:29 技术就餐 阅读(70) 评论(0) 推荐(0) 编辑

2021年12月14日 #

利用canvas手动绘制图形,点位可拖拽,整体可拖动

摘要: 代码中有大量注释,简单粗暴直接上代码 阅读全文

posted @ 2021-12-14 18:34 技术就餐 阅读(1507) 评论(0) 推荐(0) 编辑

2021年11月11日 #

终止h5页面跳转返回刷新,利用路由缓存,找准缓存清除时机

摘要: //清除缓存页面路由缓存 beforeRouteLeave(to, from, next) { if (to.path == "/myselfPlan" && this.$vnode.parent) { this.$vnode.parent.componentInstance.cache={} th 阅读全文

posted @ 2021-11-11 11:41 技术就餐 阅读(302) 评论(0) 推荐(0) 编辑

2021年10月22日 #

利用插槽写屏幕按钮随意拖动控件,页面滚动消失,停止显示

摘要: <template> <transition> <div ref="dragIcon" class="drag-icon-wrapper" @touchstart="handleTouchStart" @touchmove.prevent="handleTouchMove" @touchend="h 阅读全文

posted @ 2021-10-22 11:46 技术就餐 阅读(46) 评论(0) 推荐(0) 编辑

简单日历控件

摘要: 简单日历控件 <template> <div class="calendar-box"> <div class="calendar-box-selmonth"> <div class="sel-time" @click="lastMonth">{{ lef }}</div> {{ year }}年{{ month 阅读全文

posted @ 2021-10-22 11:36 技术就餐 阅读(42) 评论(0) 推荐(0) 编辑