普华永道(PwC) 长期招聘各种软件开发,管理岗位,可全年在家办公, 全年假期优厚。有意者可邮件联系 julia_faneast@163.com 职位简介
摘要: flex 布局是解决一维的布局问题,grid 布局是解决二维的布局问题 博文推荐 Grid MDN 讲解 Grid 基本用法讲解 Auto-fill vs auto-fit 阅读全文
posted @ 2022-11-22 22:59 julia_faneast 阅读(34) 评论(0) 推荐(0) 编辑
摘要: 1. 创建tag 2. rebase 先切到要rebase到的本地分支,fetch 远程最新的commit 再切到要rebase的分支,确保当前分支跟远程也是同步的 提交当前分支的commit rebase 3. 从tag创建hotfix分支 阅读全文
posted @ 2021-08-21 16:06 julia_faneast 阅读(577) 评论(0) 推荐(0) 编辑
摘要: Angular 如何判断图片是否加载完成 阅读全文
posted @ 2021-07-07 18:36 julia_faneast 阅读(254) 评论(0) 推荐(0) 编辑
摘要: JS, typescript 中神奇的操作符 ?? ?. !. !! 阅读全文
posted @ 2021-07-03 11:21 julia_faneast 阅读(45) 评论(0) 推荐(0) 编辑
摘要: 最近测试提了一个bug: 在手机上的Safari / Chrome 浏览器上运行web 应用,当用户focus到input 框里面时,此时页面会自动zoom in. 思路: 如何阻止页面自动zoom in 呢? 解决方案:在应用的index.html 里面添加 maximum-scale=1 <me 阅读全文
posted @ 2021-06-23 16:00 julia_faneast 阅读(120) 评论(0) 推荐(0) 编辑
摘要: 解决方案:在tsconfig.json中加入下面红色标注的一行配置 // tsconfig.json { "compileOnSave": false, "compilerOptions": { ........ "noImplicitAny": false, }, ..... } 阅读全文
posted @ 2021-06-07 14:14 julia_faneast 阅读(1789) 评论(0) 推荐(0) 编辑
摘要: 原因:MAC使用的终端是zsh,zsh加载的是 ~/.zshrc文件,而 ‘.zshrc’ 文件中并没有定义任务环境变量 解决1、终端中执行命令,打开.zshrc文件: vi ~/.zshrc2、在~/.zshrc文件最后,增加一行: source ~/.bash_profile3、执行命令,使其立 阅读全文
posted @ 2021-03-29 15:11 julia_faneast 阅读(4620) 评论(0) 推荐(2) 编辑
摘要: /** 给数字添加"st, nd, rd, th"等序数词。 **/ function(n) { var suffix = ['th', 'st', 'nd', 'rd', 'th']; var ord = n < 21 ? (n < 4 ? suffix[n] : suffix[0]) : (n 阅读全文
posted @ 2021-03-09 16:04 julia_faneast 阅读(213) 评论(0) 推荐(0) 编辑
摘要: Error Message: sourcetree remote: You must use a personal access token or SSH key 解决方案: 到sourcetree 的 repository 界面, 编辑你当前的repository 2. 添加一个你的accout, 阅读全文
posted @ 2021-03-05 10:21 julia_faneast 阅读(760) 评论(0) 推荐(0) 编辑
摘要: 每一个spect (it)的命名 [component name/ service name]-[function name]-[branch] 运行每一个spect 的生命周期顺序 Constructor => ngOnInit => 再走case 里面的内容 after each -> ngOn 阅读全文
posted @ 2020-11-20 21:52 julia_faneast 阅读(793) 评论(0) 推荐(0) 编辑