摘要: 目录 装饰器 对象继承 1、装饰器 /** 作者:sh22n链接:https://juejin.im/post/5e7822c3e51d4526f23a45ae来源:掘金 */ 类装饰器 装饰类的时候,装饰器方法一般会接收一个目标类作为参数。下面是一个给目标类增加静态属性 test 的例子: con 阅读全文
posted @ 2020-03-24 11:43 晚安早安 阅读(173) 评论(0) 推荐(0) 编辑
摘要: 监听组件的生命周期 watch 的初始立即执行 路由参数变化组件不更新 路由懒加载 require.context() 递归组件 自定义路径别名 动态给修改dom的样式 长列表性能优化 内容分发(slot) 事件修饰符 表单修饰符 生命周期函数 组件 attrs 和 listeners 路由守卫 路 阅读全文
posted @ 2020-03-18 09:47 晚安早安 阅读(462) 评论(0) 推荐(0) 编辑
摘要: 1、撤销commit 撤销并保留修改 git reset --soft <commit_id> 会将改动放在缓存区 git reset --mixed <commit_id> 不把改动放在缓存区 不保留修改撤销 git reset –hard <commit_id> tip: <commit_id> 阅读全文
posted @ 2019-06-18 16:45 晚安早安 阅读(180) 评论(0) 推荐(0) 编辑
摘要: 1、上传项目到远程仓库,如果有引用到库framwork或C语言库的话必须使用 --use-libraries https://blog.csdn.net/yishengzhiai005/article/details/73558673 2、自作pod git add .git commit -m " 阅读全文
posted @ 2019-04-08 19:35 晚安早安 阅读(92) 评论(0) 推荐(0) 编辑
摘要: 1、数据库基础操作语句 链接数据库:mysql -u root -p 123456; 选择数据库:USE database_name; 显示可以数据库:SHOW DATABASES; 显示数据库所有表:SHOW TABLES; 显示表的列:SHOW COLUMNS FROM table_name; 阅读全文
posted @ 2019-03-09 20:25 晚安早安 阅读(175) 评论(1) 推荐(0) 编辑
摘要: https://blog.csdn.net/u014410695/article/details/50630233 阅读全文
posted @ 2018-05-08 19:16 晚安早安 阅读(53) 评论(0) 推荐(0) 编辑
摘要: 一、https://www.jianshu.com/p/3c87487e7121 二、https://www.toocruel.net/idea-pojie/ 阅读全文
posted @ 2018-05-04 00:52 晚安早安 阅读(119) 评论(0) 推荐(0) 编辑
摘要: 1、js 调用oc方法 - (void)viewDidLoad { [super viewDidLoad]; WKWebViewConfiguration *configur = [[WKWebViewConfiguration alloc] init]; WKPreferences *prefer 阅读全文
posted @ 2018-03-12 15:17 晚安早安 阅读(103) 评论(0) 推荐(0) 编辑
摘要: 错误日志: dyld: Symbol not found: _kABPersonAddressCityKey Referenced from: /private/var/mobile/Containers/Bundle/Application/0CB206A0-0B85-4B55-84F3-963C 阅读全文
posted @ 2017-12-27 10:41 晚安早安 阅读(234) 评论(0) 推荐(0) 编辑
摘要: [self.webview setBackgroundColor:[UIColor clearColor]];[self.webview setOpaque:NO]; 阅读全文
posted @ 2017-12-14 10:33 晚安早安 阅读(657) 评论(0) 推荐(0) 编辑