摘要: npm install vue-cli -g vue init webpack 项目名称 npm install axios -s npm i element-ui -S npm install echarts -S npm install less less-loader --save-dev / 阅读全文
posted @ 2019-07-08 15:59 momo-倩倩 阅读(1350) 评论(0) 推荐(0) 编辑

摘要: export const FetchHandler = function (url,opt) { let paramStr = ''; let token = ''; for(key in opt){ if (opt[key] !== ''){ if (typeof opt[key] 'object 阅读全文
posted @ 2018-05-25 11:07 momo-倩倩 阅读(3291) 评论(0) 推荐(0) 编辑
 
摘要: import {Fecth} from '@/assets/js/http'import {codeState} from '@/assets/js/code'/**************************** *hasClass * * 判断是否存在某个class * obj:原生dom 阅读全文
posted @ 2018-05-25 11:01 momo-倩倩 阅读(613) 评论(0) 推荐(0) 编辑

2021年5月7日

摘要: 在pages.json里面配置,使用subNVues 1 { 2 "path": "pages/appointmentRecovery/record/detail", 3 "style": { 4 "navigationBarTitleText": "预约详情", 5 "app-plus": { 6 阅读全文
posted @ 2021-05-07 14:34 momo-倩倩 阅读(3964) 评论(0) 推荐(0) 编辑

2021年4月15日

摘要: flex-direction: row | row-reverse | column | column-reverse; 定义主轴的方向 flex-wrap: nowrap | wrap | wrap-reverse; 默认都在一条线上,如果一条线放不下换不换行 justify-content: f 阅读全文
posted @ 2021-04-15 14:48 momo-倩倩 阅读(54) 评论(0) 推荐(0) 编辑

2021年1月29日

摘要: // 设置页面不可见时,清除定时函数document.onvisibilitychange=function(){ if(document.visibilityState=="visible"){ timer=setInterval(slidemove, 1000); }else{ clearInt 阅读全文
posted @ 2021-01-29 14:42 momo-倩倩 阅读(191) 评论(0) 推荐(0) 编辑

2020年7月23日

摘要: TypeScript 是 JavaScript 的超集,扩展了 JavaScript 的语法,因此现有的 JavaScript 代码可与 TypeScript 一起工作无需任何修改,TypeScript 通过类型注解提供编译时的静态类型检查。 类型批注和编译时类型检查 类型检查的作用:辅助开发,提高 阅读全文
posted @ 2020-07-23 09:55 momo-倩倩 阅读(439) 评论(0) 推荐(0) 编辑

2020年4月23日

摘要: // $refs this.$nextTick(() => { this.$refs['form'].resetFields() }) vue watch 监听 watch: { currentCode() { }, // 深度监听 formData: { handler() { }, // 代表在 阅读全文
posted @ 2020-04-23 10:50 momo-倩倩 阅读(373) 评论(0) 推荐(0) 编辑

2020年3月30日

摘要: <template> <div class="wrap"> <div class="wrap-header"> <el-form :inline="true" :model="formInline" class="demo-form-inline" size="mini"> <el-form-ite 阅读全文
posted @ 2020-03-30 09:56 momo-倩倩 阅读(1507) 评论(0) 推荐(0) 编辑

2019年11月8日

摘要: 1. 点击IE浏览器的的“工具->Internet 选项->安全->自定义级别”将“其他”选项中的“通过域访问数据源”选中为“启用” 2.修改table.js源码 在ajax 请求中增加 crossDomain: true == !(document.all) 阅读全文
posted @ 2019-11-08 17:17 momo-倩倩 阅读(1461) 评论(0) 推荐(0) 编辑
 
摘要: 修改ajax 源码,如下图,亲测有效 阅读全文
posted @ 2019-11-08 17:12 momo-倩倩 阅读(339) 评论(0) 推荐(0) 编辑

2019年10月23日

摘要: 当内容过多的时候,滚动位置不准确 阅读全文
posted @ 2019-10-23 15:54 momo-倩倩 阅读(2785) 评论(0) 推荐(0) 编辑

2019年10月14日

摘要: 常见的图片格式: 阅读全文
posted @ 2019-10-14 15:37 momo-倩倩 阅读(12028) 评论(0) 推荐(0) 编辑