会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
富坚老贼
https://github.com/buchizaodian
新随笔
管理
上一页
1
···
8
9
10
11
12
13
14
15
16
···
86
下一页
2021年6月14日
js ajax
摘要: 导入 下载或引入 jquery https://code.jquery.com/ <script src="https://code.jquery.com/jquery-3.6.0.min.js"</script> 使用 jquery ajax ajax是异步js和xml的意思 Get请求 语法 /
阅读全文
posted @ 2021-06-14 15:37 富坚老贼
阅读(152)
评论(0)
推荐(0)
2021年6月13日
vue 基础
摘要: 声明式渲染 类似C#里的 $'' 字符串插值 <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name
阅读全文
posted @ 2021-06-13 09:12 富坚老贼
阅读(35)
评论(0)
推荐(0)
2021年6月10日
vue3 cli
摘要: 安装CLI # 安装cli npm install -g @vue/cli # 或者 yarn global add @vue/cli # 查看版本 vue --version # 升级全局cli包 npm update -g @vue/cli # 或者 yarn global upgrade --
阅读全文
posted @ 2021-06-10 10:02 富坚老贼
阅读(196)
评论(0)
推荐(0)
2021年6月8日
yarn
摘要: 下载 Yarn 中文文档 (bootcss.com) 初始化项目 yarn init 生成package.json文件夹 { "name": "yarn", "version": "1.0.0", "main": "index.js", "license": "MIT" } 添加依赖包 yarn a
阅读全文
posted @ 2021-06-08 09:52 富坚老贼
阅读(66)
评论(0)
推荐(0)
2021年6月2日
git 分支
摘要: 查看分支 git branch 远程分支 git branch -r 创建分支 git branch 名称 切换分支 git checkout 分支名 删除分支 需切换到其他分支后再删除 git branch -D 分支名 #大写d不提示,直接删除 git branch -d #小写d提示处理合并后
阅读全文
posted @ 2021-06-02 08:25 富坚老贼
阅读(48)
评论(0)
推荐(0)
2021年5月21日
js 模块化
摘要: 一、es6之前 1.代码模块化 通过使用立即执行函数,对象和闭包创建的模块方式称为 作用域只有两种:全局作用域和函数作用域 main.html <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="vie
阅读全文
posted @ 2021-05-21 20:01 富坚老贼
阅读(174)
评论(0)
推荐(0)
js 正则表达式
摘要: 创建正则两种方式 字面量创建正则 const r=/test/; 对象创建正则 let r1=new RegExp("test") 调用正则的test方法判断是否符合规则 返回true或false console.log(r.test('test')) console.log(r1.test("te
阅读全文
posted @ 2021-05-21 10:54 富坚老贼
阅读(122)
评论(0)
推荐(0)
2021年5月15日
js 生成器
摘要:
阅读全文
posted @ 2021-05-15 15:11 富坚老贼
阅读(29)
评论(0)
推荐(0)
js 闭包
摘要: 通过闭包封装私有变量 function a() { //函数外访问不到 var s = 3; //使外部能够获得s变量的值 this.f = function () { return s } //改变s的值 this.add=function(){ s++ } } var t = new a() t
阅读全文
posted @ 2021-05-15 10:15 富坚老贼
阅读(35)
评论(0)
推荐(0)
2021年5月14日
js yarn
摘要: https://yarn.bootcss.com/ 取代npm 安装 npm install -g yarn 安装路径
阅读全文
posted @ 2021-05-14 12:32 富坚老贼
阅读(109)
评论(0)
推荐(0)
上一页
1
···
8
9
10
11
12
13
14
15
16
···
86
下一页
公告