摘要: // 第一种:用async、await修饰 async function a() { let b = await crawer("参数"); console.log(b); } a(); // 第二种:用.then接收 let b = crawer("参数") .then((res) => { co 阅读全文
posted @ 2021-04-30 22:13 yw3692582 阅读(312) 评论(0) 推荐(0)
摘要: <template> <div class="hello"> <EncapTable ref="items" :Data="Data"></EncapTable> </div> </template> <script> import EncapTable from "./EncapTable"; e 阅读全文
posted @ 2021-04-30 10:59 yw3692582 阅读(2883) 评论(0) 推荐(0)
摘要: <template> <div> <!-- 基于el-table二次封装的一个table组件,功能包括:搜索、编辑、删除、分页 --> <el-table :data=" getSearchInfo.slice( (currpage - 1) * Data.pageSize, currpage * 阅读全文
posted @ 2021-04-30 10:57 yw3692582 阅读(402) 评论(0) 推荐(0)