上一页 1 2 3 4 5 6 7 ··· 18 下一页
摘要: 用watch监听某个一个数组数据,获取其length时,提示Object is possibly ‘null‘ .具体如下: 解决方法如下:就是加null的判断 typescript 提示 Object is possibly ‘null‘ 的N种解决方法 解决方案一 最正确的解决方案,就是加nul 阅读全文
posted @ 2023-03-23 15:24 夏小夏吖 阅读(202) 评论(0) 推荐(0) 编辑
摘要: 首先项目集成以下两个依赖: vue-quill-editor:https://www.jianshu.com/p/8eb2bb78b641 vue-better-table:https://blog.csdn.net/sinat_27746197/article/details/105952089 阅读全文
posted @ 2021-10-22 17:25 夏小夏吖 阅读(5503) 评论(8) 推荐(1) 编辑
摘要: 请求接口后,接口返回的要是一个文件流的数据。 请示到数据之后用blob对象进行对数据处理; downloadFile(file) { dwonloadFiles({ fileName: file.name }).then(response => { let blob = new Blob([resp 阅读全文
posted @ 2021-09-16 14:21 夏小夏吖 阅读(4417) 评论(0) 推荐(0) 编辑
摘要: <template> <view class='downLoad'> <view class="ul" v-if="dataList.length>0"> <scroll-view scroll-y="true" style="height: 100vh;" @scrolltolower="hand 阅读全文
posted @ 2021-05-31 14:31 夏小夏吖 阅读(1226) 评论(0) 推荐(0) 编辑
摘要: //解决返回不刷新问题 window.onpageshow = null; window.onpageshow = function(event){ location.reload() } //跳转后的页面 window.location.href=response.data.url 阅读全文
posted @ 2021-05-10 09:30 夏小夏吖 阅读(1482) 评论(0) 推荐(0) 编辑
摘要: <template v-if="newPatient"> <div class='index'> 内容 </div> </template> <style> html,body { height: 100vh; overflow-x: hidden; overflow-y: hidden; } .i 阅读全文
posted @ 2021-04-28 18:26 夏小夏吖 阅读(721) 评论(0) 推荐(0) 编辑
摘要: <template> <div class="content"> <div class="demo"> <el-form :label-position="labelPosition" label-width="80px" :model="formLabelAlign"> <div class="f 阅读全文
posted @ 2021-04-26 15:01 夏小夏吖 阅读(332) 评论(0) 推荐(0) 编辑
摘要: 1、第一步:npm i vant -S2、第二步: 安装 babel-plugin-import 插件,babel-plugin-import 是一款 babel 插件,它会在编译过程中将 import 的写法自动转换为按需引入的方式npm i babel-plugin-import -D3、第三步 阅读全文
posted @ 2021-04-25 16:22 夏小夏吖 阅读(544) 评论(0) 推荐(0) 编辑
摘要: 如何动态修改伪元素样式? 1.css中如何用变量 声明css变量的时候,变量名前面要加两根连词线(–)。变量名大小写敏感,–header-color和–Header-Color是两个不同变量。var()函数用于读取变量。var()函数还可以使用第二个参数,表示变量的默认值。如果该变量不存在,就会使用 阅读全文
posted @ 2021-04-20 14:45 夏小夏吖 阅读(3574) 评论(0) 推荐(0) 编辑
摘要: 下载链接:进度条——https://i.cnblogs.com/files 阅读全文
posted @ 2021-04-09 14:20 夏小夏吖 阅读(286) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 ··· 18 下一页