myopenresources / cc Goto Github PK
View Code? Open in Web Editor NEW一个基于angular5.0.0+ng-bootstrap1.0.0-beta.8+bootstrap4.0.0-beta.2+scss的后台管理系统界面(没基础的同学请先自学基础,谢谢!)
License: MIT License
一个基于angular5.0.0+ng-bootstrap1.0.0-beta.8+bootstrap4.0.0-beta.2+scss的后台管理系统界面(没基础的同学请先自学基础,谢谢!)
License: MIT License
看了很多文章都没有讲到这一点的,是我哪里理解错了吗?还是说要把需要的依赖拷贝到某个文件夹,在index里引入,比如说Rxjs。多谢了
服务端127.0.01:3000向该框架界面发送cookie,但本框架不能显示cookie,疑似跨域问题,该怎么解决。
不知道是不是我打包的原因,编译通过,访问的时候报:
VM2519:4144 Uncaught Error: Expected 'styles' to be an array of strings.
at assertArrayOfStrings (eval at (vendor.js:1022), :4144:19)
at CompileMetadataResolver.getNonNormalizedDirectiveMetadata (eval at (vendor.js:1022), :15390:13)
at CompileMetadataResolver.loadDirectiveMetadata (eval at (vendor.js:1022), :15312:25)
at eval (eval at (vendor.js:1022), :26920:72)
at Array.forEach ()
at eval (eval at (vendor.js:1022), :26919:72)
at Array.forEach ()
at JitCompiler._loadModules (eval at (vendor.js:1022), :26916:75)
at JitCompiler._compileModuleAndComponents (eval at (vendor.js:1022), :26886:36)
at JitCompiler.compileModuleAsync (eval at (vendor.js:1022), :26815:37)
在线预览时菜单管理、角色管理中的角色分配和系统管理打不开,返回404错误。
使用不同的前端技术实现同一种框架,作者很牛鼻,完全是小公司做小项目的福利,有着一个框架,改一改格式,可以适应不同的项目需求.节省了不少成本......
rt
大神,datePicker 怎么实现popup的Range select;看api半天没有什么头绪,
<ng-template #t let-date="date" let-focused="focused">
<span class="custom-day"
[class.focused]="focused"
[class.range]="isFrom(date) || isTo(date) || isInside(date) || isHovered(date)"
[class.faded]="isHovered(date) || isInside(date)"
(mouseenter)="hoveredDate = date"
(mouseleave)="hoveredDate = null">
{{ date.day }}
这个代码块不知道该怎么处理,求指导,拜谢!!!
看了你写的项目,学习很多,好多写法好简洁~
期待更新~
大神,请教一下你的index里怎么运行的时候就会加载很多style在里面呢?
把LoginComponent
的HttpService
替换为HttpClientService
时没有报错,但登录页出不来。去掉constructor
中HttpClientService
的引用就可以。不知哪出了问题? @myopenresources
你好,我想问下toast组件的用法,比如说login成功后怎样触发toast弹出的?谢谢.
现在这种后台框架基本上都是标签页方式,作者有没有考虑实现下标签页的界面实现。
只有一级菜单路由怎么跳转啊,为什么进入不到itemClicked(item: MenuData)方法;菜鸟求指导
我用service调用出confirm之后,点击确定按钮之后我想要执行一些事件,可是confirm的确定按钮的事件在confirm那个组件里,我要怎么在当前的组件知道是否点击了确定按钮
参考前辈的代码学习angular4,在演练过程中感觉一个可以调整的地方:
把每个component中的构造函数constructor的类似代码this.appService.titleEventEmitter.emit("消息框")移除;在treeview-menu.component.ts 中实现:
itemClicked(item: MenuData) {
if (!this.isLeaf(item)) {
item.isExpend = !item.isExpend;
} else {
this.appService.titleEventEmitter.emit(item.name);//新增代码,该行代码放在最后是不起作用的
this.router.navigate([item.url]);
//this.appService.titleEventEmitter.emit(item.name); //代码在此处没有效果,个人猜测navigate类似return,该操作结束当前代码块的生命周期
}
}
我的是angular4工程,通过npm 安装malihu-custom-scrollbar-plugin后,添加了js和css,创建了CustomScrollbarDirective指令,在html模板中
最近打算用多选项.
看了看有一个地方不是很明白,就是select-demo.components里面的里#multipleSelectComponent,然后ts文件里@ViewChild('multipleSelectComponent') multipleSelectComponent;我的理解是应该是一个指令directive的用法吧?可是没有发现其他文件中那里定义了multipleSelectComponent这个指令.
能否把httpservice升级到Angular 5.x的HttpClient?
类似的全是这种错误,使用ng serve 或者 ng build --dev 都是OK的
ERROR in /Users/XXX/Desktop/Angular2App/cc-master/src/$$_gendir/app/home/home.component.ngfactory.ts (579
,35): Property 'userTipClose' does not exist on type 'HomeComponent'.
ERROR in ng:///Users/XXX/Desktop/Angular2App/cc-master/src/app/home/home.component.html (32,29): Property
'todoObj' is private and only accessible within class 'HomeComponent'.
ERROR in ng:///Users/XXX/Desktop/Angular2App/cc-master/src/app/home/home.component.html (79,29): Property
'noticeObj' is private and only accessible within class 'HomeComponent'.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.