会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
深海里的星星i
博客园
首页
新随笔
联系
管理
上一页
1
···
5
6
7
8
9
10
11
12
13
···
19
下一页
2022年3月27日
python 无参装饰器和有参装饰器的使用
摘要: # python 无参装饰器 # 计算时间的装饰器 import time # 3. 调用timer, 这里的x其实就是 copy 函数 def timer(x): def outter(): start = time.time() # 4. 这里的x是参数, 等同于执行了 copy() res =
阅读全文
posted @ 2022-03-27 12:03 深海里的星星i
阅读(52)
评论(0)
推荐(0)
2022年3月24日
Linux常用命令大全
摘要: pwd:查看当前所处的目录 tree: linux不一定有, 但是可以自己安装, 树形列表 tree [目录名]: 树形结构列出制定文件夹 ls: 查看当前目录 ls -l:列出当前的目录, 带权限,日期,时间, 第一个字母代表类型,-:文件, d目录 ls -a: 列出所有文件, 包括隐藏文件 l
阅读全文
posted @ 2022-03-24 20:58 深海里的星星i
阅读(112)
评论(0)
推荐(0)
2022年3月17日
vue升级vue/cli5遇到的一些 "问题"
摘要: 1. module.exports 下面红线提示`parsing error: No Babel config file detected for xxx` 解决办法: // 在eslintrc.js 或者 package.json 中 找到 parserOptions 项, 在里面加上 // 这句
阅读全文
posted @ 2022-03-17 09:55 深海里的星星i
阅读(1228)
评论(0)
推荐(0)
2022年3月16日
关于better-scroll的使用注意事项
摘要: 1. 动态加载数据需要刷新滚动区域 this.$nextTick(() => { this.betterScroll.refresh() }) 2. 滚动区域上的事件, 需要在注册滚动的时候, 添加 click: true mounted() { this.betterScroll = new Be
阅读全文
posted @ 2022-03-16 15:09 深海里的星星i
阅读(79)
评论(0)
推荐(0)
jquery-qrcode包生成带logo的二维码
摘要: <!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-03-16 14:58 深海里的星星i
阅读(523)
评论(0)
推荐(0)
2022年3月8日
python继承类子类调用父类方法的三种方式
摘要: class Fa(): def say(self, str1): print(str1) class So(Fa): def triggerFaEvent(self): # 直接类名 . 调用, 第一个参数固定为 self # Fa.say(self, "嘻嘻") # super调用, 第一个参数是
阅读全文
posted @ 2022-03-08 20:21 深海里的星星i
阅读(291)
评论(0)
推荐(0)
2022年3月1日
解决vue线上项目更新后, 用户电脑css缓存的问题
摘要: // 全局混入scss变量 const Timestamp = +new Date() module.exports = { // 全局混入scss变量 css: { loaderOptions: { sass: { prependData: '@import "./src/styles/varia
阅读全文
posted @ 2022-03-01 11:06 深海里的星星i
阅读(298)
评论(0)
推荐(0)
2022年2月22日
关于 __proto__ constructor prototype 的理解(说人话)
摘要: <script> // constructor : 指向构造函数 // prototype : 指向原型对象 function Fn() {} const a = new Fn(); // __proto__ : 指向构造函数的原型对象 console.log(a.__proto__ Fn.prot
阅读全文
posted @ 2022-02-22 09:58 深海里的星星i
阅读(42)
评论(1)
推荐(0)
2022年2月14日
关于axios请求配置, request的封装, 请求拦截器和响应拦截器的拦截范围, 使用express临时后台测试
摘要: 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
阅读(708)
评论(0)
推荐(0)
2022年2月11日
vue之flip动画解析
摘要: <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
阅读(335)
评论(0)
推荐(0)
上一页
1
···
5
6
7
8
9
10
11
12
13
···
19
下一页
公告