![](https://img-blog.csdnimg.cn/20201014180756757.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
angularjs
Alieen Yin
这个作者很懒,什么都没留下…
展开
-
angularjs指令的&=@<?
1.& function uploadPanel(PathUtils) { return { restrict: 'E', bindToController: { "uploadFunction": '&',//传一个function "downloadFunction":原创 2017-12-07 13:54:46 · 1387 阅读 · 0 评论 -
angularjs+ueditor配置工具栏及使用,解决了第一次加载之后第二次加载失败的问题
1.安装ueditor去angular库中下载:npm install ueditor --save去ueditor下载相关依赖点击打开链接我下载的是jsp1.4.3 utf-8版本。拷贝至项目的目录下2.在html中加入js<script src="ueditor/ueditor.config.js"></script> <script src="ueditor/u...原创 2018-07-05 15:58:38 · 1220 阅读 · 0 评论 -
java实现单个文件压缩成zip文件前后端实现
问题描述:一个文件上传后,下载时如果不是压缩文件需要把一个文件打包成zip文件返回给前端;下载时如果是压缩文件直接返回给前端问题解决:传入源文件的路径,返回打包后文件的路径1.java实现FileService层public String zipFile(String path) throws FileNotFoundException { File file = new File(pa...原创 2018-07-13 20:59:49 · 1859 阅读 · 0 评论 -
angularjs实现倒计时30秒
问题描述: 30秒时间阅读承诺书,才能点击同意签订承诺书的按钮 问题解决: html <span class="col-sm-2" style="color:red" ng-bind="promiseScanCtrl.paracont"></span> angularjs: 在init()函数里面调用countDown() function countD...转载 2018-07-26 09:41:50 · 759 阅读 · 0 评论