Skip to content

Commit a94d778

Browse files
committed
update
1 parent c7295ac commit a94d778

File tree

3 files changed

+8
-3
lines changed

3 files changed

+8
-3
lines changed

README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
11
# angular-webuploader
22

33
angular指令封装的webuploader demo
4+
5+
6+
![screenshot](https://raw.githubusercontent.com/giscafer/angular-webuploader/master/images/screenshot.png)

images/screenshot.png

53.9 KB
Loading

js/app.js

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,8 @@
7878

7979
var fileList = [];
8080
var errors = [];
81-
81+
// // 添加的文件数量
82+
var fileCount = 0;
8283
function init_uploader() {
8384
$(_winEl).html(buildFormHtml());
8485
// $rootScope.$compile($(_winEl))($rootScope);
@@ -110,6 +111,7 @@
110111
}
111112

112113
function init_app() {
114+
fileCount=0;
113115
var $wrap = $('#uploader'),
114116

115117
// 图片容器
@@ -130,8 +132,8 @@
130132

131133
$progress = $statusBar.find('.progress').hide(),
132134

133-
// 添加的文件数量
134-
fileCount = 0,
135+
// // 添加的文件数量
136+
// fileCount = 0,
135137

136138
// 添加的文件总大小
137139
fileSize = 0,

0 commit comments

Comments
 (0)