摘要: 上传js文件 import axios from "axios"; import SparkMD5 from "spark-md5"; //正常上传 const upload = (url, data, headers = {}) => { return new Promise((resolve, 阅读全文
posted @ 2022-08-14 20:28 Li_pk 阅读(114) 评论(0) 推荐(0) 编辑
摘要: dom结构 <div class="box" id="list"> <ul class="list flex-row-inline flex-nowrap"> <li v-for="item in 5" :class="{ active: item 1 }"></li> </ul> </div> . 阅读全文
posted @ 2022-08-14 20:28 Li_pk 阅读(596) 评论(0) 推荐(0) 编辑