上一页 1 ··· 29 30 31 32 33 34 35 36 37 ··· 44 下一页
摘要: 官方文档是这样子的,抄下来会报错,因为没有后两个设置 import { NgZorroAntdModule, NzConfig, NZ_CONFIG } from 'ng-zorro-antd'; const ngZorroConfig: NzConfig = { // 注意组件名称没有 nz 前缀 阅读全文
posted @ 2020-03-18 00:08 糖~豆豆 阅读(2250) 评论(0) 推荐(0) 编辑
摘要: Command+Shift+. 可以显示隐藏文件、文件夹,再按一次,恢复隐藏;finder下使用Command+Shift+G 可以前往任何文件夹,包括隐藏文件夹。 常用指令如下 cd ~ 进入根目录 open -e .bash_profile 打开了.bash_profile查看环境变量 设置内容 阅读全文
posted @ 2020-03-16 22:02 糖~豆豆 阅读(972) 评论(0) 推荐(0) 编辑
摘要: 一步一步走出坑~~~ 然后用下面这段代码替换src\config\router.config.js // eslint-disable-next-line import { UserLayout, BasicLayout, RouteView, BlankLayout, PageView } fro 阅读全文
posted @ 2020-03-16 15:19 糖~豆豆 阅读(324) 评论(0) 推荐(0) 编辑
摘要: npx ng g directive DebounceClickDirective --module=app 然后自动生成了2 个文件 CREATE src/app/debounce-click-directive.directive.spec.ts (290 bytes) CREATE src/a 阅读全文
posted @ 2020-03-14 00:22 糖~豆豆 阅读(1388) 评论(0) 推荐(0) 编辑
摘要: 最详细 <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta http-e 阅读全文
posted @ 2020-03-14 00:09 糖~豆豆 阅读(1778) 评论(0) 推荐(1) 编辑
摘要: 第一步 在 src/views 下新建页面的vue文件,如果相关页面有多个,可以新建一个文件夹来放置相关文件。 给页面里写几个字,等会可以看到哦~~ 第二步 将文件加入菜单和路由 进入这个文件 src\config\router.config.js // eslint-disable-next-li 阅读全文
posted @ 2020-03-13 23:53 糖~豆豆 阅读(8126) 评论(0) 推荐(0) 编辑
摘要: 最新版例子~~ 如果同时多个弹框,只显示第一个 <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scal 阅读全文
posted @ 2020-03-12 22:44 糖~豆豆 阅读(1989) 评论(0) 推荐(0) 编辑
摘要: 已知如下数组: var arr = [ [1, 2, 2], [3, 4, 5, 5], [6, 7, 8, 9, [11, 12, [12, 13, [14] ] ] ], 10]; 编写一个程序将数组扁平化去并除其中重复部分数据,最终得到一个升序且不重复的数组 arr.toString().sp 阅读全文
posted @ 2020-03-12 00:05 糖~豆豆 阅读(707) 评论(0) 推荐(0) 编辑
摘要: 为了巩固基础,我会通过实例来详细说明,让我们一起搞懂 typeof 和 instanceof。 <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=de 阅读全文
posted @ 2020-03-12 00:03 糖~豆豆 阅读(195) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2020-03-11 22:58 糖~豆豆 阅读(480) 评论(0) 推荐(0) 编辑
上一页 1 ··· 29 30 31 32 33 34 35 36 37 ··· 44 下一页
Live2D