会员
周边
新闻
博问
闪存
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
晨光曦微
博客园
首页
新随笔
联系
订阅
管理
上一页
1
···
30
31
32
33
34
35
36
37
38
···
75
下一页
2021年3月11日
vue常见表单信息收集
摘要: <!-- 1. 使用v-model(双向数据绑定)自动收集数据 text/textarea checkbox radio select --> <div id="demo"> <form action="/xxx" @submit.prevent="handleSubmit"> <span>用户名:
阅读全文
posted @ 2021-03-11 09:44 晨光曦微
阅读(248)
评论(0)
推荐(0)
2021年2月13日
sublime 设置格式化快捷键
摘要: { "keys": ["ctrl+shift+/"], "command": "reindent" }
阅读全文
posted @ 2021-02-13 09:46 晨光曦微
阅读(135)
评论(0)
推荐(0)
2021年2月10日
git checkout 切换分支报错 fatal: cannot create directory at 'src/components': Permission denie
摘要: 执行如下命令即可 git rm -r --cached ' '
阅读全文
posted @ 2021-02-10 11:53 晨光曦微
阅读(1438)
评论(0)
推荐(0)
2021年1月2日
sublimt text 设置tab宽度为2个空格
摘要: 设置——设置——在打开的标签(Preferences.sublime-settings-Uer)最下面加上以下两行: // The number of spaces a tab is considered equal to "tab_size": 2, // Set to true to inser
阅读全文
posted @ 2021-01-02 17:46 晨光曦微
阅读(222)
评论(0)
推荐(0)
2020年12月6日
# JavaScript中的对象转数组Array.prototype.slice.call()方法详解
摘要: JavaScript中的对象转数组Array.prototype.slice.call()方法详解 JavaScript中的Array.prototype.slice.call(arguments)能将有length属性的对象转换为数组(特别注意: 这个对象一定要有length属性). 但有一个例外
阅读全文
posted @ 2020-12-06 20:33 晨光曦微
阅读(384)
评论(0)
推荐(0)
sublime3控制台直接编译运行js
摘要: 首先安装nodejs,cmd运行 node -v 查看是否安装成功 然后:工具——编译系统——新建编译系统,在出来的文件内输入如下代码,最后保存,名字js或随便什么都可,位置默认即可 最后运行:ctrl+b即可出现结果 { "cmd": ["node", "$file"], "selector":
阅读全文
posted @ 2020-12-06 17:08 晨光曦微
阅读(151)
评论(0)
推荐(0)
2020年12月5日
正则表达式匹配任意字符(包括换行符)
摘要: 配包括换行符在内的任意字符: [\s\S]* 或: [\d\D]* [\w\W]* 在文本文件里, 这个表达式可以匹配所有的英文 /[ -~]/ 这个表达式可以匹配所有的非英文(比如中文) /[^ -~]/ /是VI里用的,你在editplus或程序里不需要/
阅读全文
posted @ 2020-12-05 11:06 晨光曦微
阅读(2405)
评论(0)
推荐(0)
2020年12月4日
复制stylus样式后报错:expected "indent", got "eos"
摘要: 问题:复制stylus样式后报错意外缩进 原因:stylus中混用了tab(\t)和空格(' ')导致stylus无法正常编译 最简单解决:查看编辑器右下角一tab等于几个空格,然后把空格*n替换成\t即可 sublime解决: ctrl+shift+p 进入设置搜索框 输入:settings 然后
阅读全文
posted @ 2020-12-04 11:13 晨光曦微
阅读(1059)
评论(0)
推荐(0)
2020年12月2日
import default默认导出的引入重命名 import {default as Sample} from './sample.js'
摘要: 默认导出实际上是名为default的命名导出,因此可以将默认导出导入写为如下,以实现修改默认名: //default 是固定写法不能修改,as 后是你自己随意定义的新名称 import {default as Sample} from '../Sample.js';复制代码
阅读全文
posted @ 2020-12-02 12:23 晨光曦微
阅读(3570)
评论(0)
推荐(0)
2020年11月25日
css3动画 实现大数据波纹热点
摘要: <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta http-equiv
阅读全文
posted @ 2020-11-25 20:45 晨光曦微
阅读(369)
评论(0)
推荐(0)
上一页
1
···
30
31
32
33
34
35
36
37
38
···
75
下一页
公告