摘要: 先说一嘴:sass和scss的区别: 异同:简言之可以理解scss是sass的一个升级版本,完全兼容sass之前的功能,又有了些新增能力。语法形式上有些许不同,最主要的就是sass是靠缩进表示嵌套关系,scss是花括号 //sass 太费眼了 .father width:100px; .son wi 阅读全文
posted @ 2021-05-02 19:26 猎奇游渔 阅读(145) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2021-05-02 04:37 猎奇游渔 阅读(250) 评论(0) 推荐(0) 编辑
摘要: onLoad() { this.params.page++; // 此处加500毫秒延迟纯属为了接口请求太快,出现不了“加载中”文字提示 // setTimeout(() => { this.listInterface(this.params) .then(res => { // 调用父组件上的处理 阅读全文
posted @ 2021-05-02 00:59 猎奇游渔 阅读(49) 评论(0) 推荐(0) 编辑
摘要: import axios from "axios"; import { getOssTicket } from "@/pages/mb/constants/API"; // 拿到ticket const getTicket = function (): any { return new Promis 阅读全文
posted @ 2021-05-02 00:42 猎奇游渔 阅读(89) 评论(0) 推荐(0) 编辑