会员
周边
新闻
博问
闪存
众包
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
海胆Sur
博客园
首页
新随笔
联系
管理
上一页
1
···
3
4
5
6
7
8
9
10
11
···
30
下一页
2022年5月5日
Vue-Cli 配置项
摘要: 官方文档 Cli:@vue/cliCli服务:@vue/cli-serviceCli插件: @vue/cli-plugin-xx vue-cli-plugin-xx 社区插件 npm update -g @vue/cli vue-cli-service build --no-clean # 构建之前
阅读全文
posted @ 2022-05-05 13:25 海胆Sur
阅读(53)
评论(0)
推荐(0)
2022年4月13日
我工作中用到的vscode插件
摘要: 2021/09/07 22/4/13 2022/10/30 import cost 引入一个包后项目大小变化 20230510
阅读全文
posted @ 2022-04-13 21:40 海胆Sur
阅读(14)
评论(0)
推荐(0)
2022年4月12日
a = {n: 1}; b = a; a.x = a = {n:2}; a.x -> undefined b.x -> {n:2} 图解
摘要: a = {n: 1} b = a a.x = a = {n: 2} console.log(a.x) // undefined console.log(b.x) // {n: 2} 点运算符具有更高优先级,赋值从右向左进行 个人理解:a.x 的时候实际操作的地址已经确定了。即便过程中a变换指向,也不
阅读全文
posted @ 2022-04-12 21:41 海胆Sur
阅读(13)
评论(0)
推荐(0)
2022年4月2日
vscode markdown文件 Snippet 不生效
摘要: 参考博客 排除掉语法错误,还需要配置 setting.json "[markdown]": { "editor.quickSuggestions": { "other": true, "comments": true, "strings": true }, "editor.acceptSuggest
阅读全文
posted @ 2022-04-02 01:15 海胆Sur
阅读(42)
评论(0)
推荐(0)
2022年3月7日
css font 文字及 text 段落样式 word-break断词 white-space空白符 font-face 换行 溢出省略
摘要: 对齐方式 text-align 文本水平对齐方式 vertical-align 属性设置行内元素的垂直对齐基准线 line-height 行高 行高等于height时可垂直居中,不设置height时,默认撑开。 不建议使用单位值赋值line-height 实际效果可能不符合预期 排版 letter-
阅读全文
posted @ 2022-03-07 14:09 海胆Sur
阅读(36)
评论(0)
推荐(0)
2022年3月4日
git rebase 与 git cherry-pick
摘要: 在知道hash值的情况下,git cherry-pick 用起来很快捷 可以快速创建一条包含特定提交分支 git rebase -i <commit> pick保留该commit(缩写:p)reword保留该commit,修改该commit的注释(缩写:r)edit保留该commit,** 修改该提
阅读全文
posted @ 2022-03-04 14:53 海胆Sur
阅读(26)
评论(0)
推荐(0)
2022年3月3日
js 数组去重 方法和思路
摘要: 单个数组去重 创建第二个数组用来接收不重复元素 .indexOf()/lastIndexOf let newArr = [] for (let item of arr) { if (newArr.indexOf(item) -1) { newArr.push(item) } // 或者 // if
阅读全文
posted @ 2022-03-03 00:11 海胆Sur
阅读(16)
评论(0)
推荐(0)
2022年1月21日
uni-app 在单独js文件中使用uni.navigateTo等方法页面不跳转 | 问题解决
摘要: 方法链接 路径要去掉文件名后缀
阅读全文
posted @ 2022-01-21 15:57 海胆Sur
阅读(57)
评论(0)
推荐(0)
浏览器网络请求 不显示请求方法(使用uni.request),接口始终超时 | 解决
摘要: 看看服务地址的IP有没有写错 ip写错了不显示请求方法,也算是涨知识了。 简单的输入错误,折磨了我两天。。。
阅读全文
posted @ 2022-01-21 11:05 海胆Sur
阅读(89)
评论(0)
推荐(0)
2022年1月11日
测试在html文件中使用自定义元素自闭合
摘要: <div style="background-color: black;"> <h1 style="color: white;">试一试自定义元素自闭合标签是否有用</h1> <fuck-albb style="color: yellow; background-color: green; heig
阅读全文
posted @ 2022-01-11 10:18 海胆Sur
阅读(17)
评论(0)
推荐(0)
上一页
1
···
3
4
5
6
7
8
9
10
11
···
30
下一页
公告