Giter Club home page Giter Club logo

cc's People

Contributors

myopenresources avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

cc's Issues

ng serve 页面点击报错

最新代码未改动,ng serve状态下下面列出的子菜单点击报错:
角色管理
--角色添加
--角色查询
--角色分配

菜单管理
--菜单添加
--菜单查询

系统管理
--系统管理

screen shot 2017-08-14 at 10 28 06 pm

cookie 跨域问题

服务端127.0.01:3000向该框架界面发送cookie,但本框架不能显示cookie,疑似跨域问题,该怎么解决。

webpack打包出错

不知道是不是我打包的原因,编译通过,访问的时候报:
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)

赞作者

使用不同的前端技术实现同一种框架,作者很牛鼻,完全是小公司做小项目的福利,有着一个框架,改一改格式,可以适应不同的项目需求.节省了不少成本......

datePicker 实现文本框中弹出日期范围选择

大神,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 }}


这个代码块不知道该怎么处理,求指导,拜谢!!!

期待作者更新

看了你写的项目,学习很多,好多写法好简洁~
期待更新~

toast组件的用法

你好,我想问下toast组件的用法,比如说login成功后怎样触发toast弹出的?谢谢.

npm start 报错看下截图吧

qq 20170927090451

我刚刚练习了官网的英雄编辑器的demo没毛病,然后别人推荐你这个,是否是我的本地版本环境过于新了呢?

一级菜单路由跳转

只有一级菜单路由怎么跳转啊,为什么进入不到itemClicked(item: MenuData)方法;菜鸟求指导

confirm框

我用service调用出confirm之后,点击确定按钮之后我想要执行一些事件,可是confirm的确定按钮的事件在confirm那个组件里,我要怎么在当前的组件知道是否点击了确定按钮

this.appService.titleEventEmitter.emit(item.name);

参考前辈的代码学习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模板中

代码如下,但是页面的水平滚动条没有出现,请问是什么问题导致的呢?

多选项mutiselect

最近打算用多选项.
看了看有一个地方不是很明白,就是select-demo.components里面的里#multipleSelectComponent,然后ts文件里@ViewChild('multipleSelectComponent') multipleSelectComponent;我的理解是应该是一个指令directive的用法吧?可是没有发现其他文件中那里定义了multipleSelectComponent这个指令.

使用ng build --prod 的时候报错

类似的全是这种错误,使用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'.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.