摘要:
下载:npm i @vueuse/core 使用<div ref="target"> <NewGoodCourse v-if='targetIsVisible'></NewGoodCourse> </div>import { useIntersectionObserver } from '@vueu 阅读全文
posted @ 2023-08-27 01:56
Baipei
阅读(12)
评论(0)
推荐(0)
摘要:
创建文件夹minxins 文件名xxx.js export default function () { let val = ''; let courseTypeFn = (type) => { switch (type) { case 1: val = '及格'; break; case 2: va 阅读全文
posted @ 2023-08-27 01:45
Baipei
阅读(43)
评论(0)
推荐(0)
摘要:
创个tuile文件夹request.js import axios from 'axios'; //1. 创建axios对象 const service = axios.create(); //2. 请求拦截器 service.interceptors.request.use(config => { 阅读全文
posted @ 2023-08-27 01:38
Baipei
阅读(8)
评论(0)
推荐(0)