02 2022 档案

摘要:<script> // constructor : 指向构造函数 // prototype : 指向原型对象 function Fn() {} const a = new Fn(); // __proto__ : 指向构造函数的原型对象 console.log(a.__proto__ Fn.prot 阅读全文
posted @ 2022-02-22 09:58 深海里的星星i 阅读(37) 评论(1) 推荐(0) 编辑
摘要:1. axios请求拦截器, 响应拦截器的使用, 拦截范围解析 request.js 工具文件 import axios from 'axios' const baseURL = 'http://localhost:3624' axios.interceptors.request.use( (res 阅读全文
posted @ 2022-02-14 17:42 深海里的星星i 阅读(694) 评论(0) 推荐(0) 编辑
摘要:<template> <div> <ul class="container"> <li v-for="item in base" :key="item.id" ref="lis"> <div class="item" :style="'backgroundColor: ' + item.c"></d 阅读全文
posted @ 2022-02-11 10:49 深海里的星星i 阅读(288) 评论(0) 推荐(0) 编辑
摘要:<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8" /> <meta http-equiv="X-UA-Compatible" content="IE=edge" /> <meta name="viewport" content 阅读全文
posted @ 2022-02-09 13:22 深海里的星星i 阅读(77) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示