Showing
1 changed file
with
2 additions
and
1 deletions
| @@ -15,7 +15,7 @@ Page({ | @@ -15,7 +15,7 @@ Page({ | ||
| 15 | bucket:'colorcun-attr',//存储空间 | 15 | bucket:'colorcun-attr',//存储空间 |
| 16 | fileType:'image',//image|video|audio|file def:file | 16 | fileType:'image',//image|video|audio|file def:file |
| 17 | region:'华东',//存储区域 | 17 | region:'华东',//存储区域 |
| 18 | - domain:'http://nosqn.colorcun.com/',//你绑定的域名,非必填项 | 18 | + domain:'http://nosqn.colorcun.com',//你绑定的域名,非必填项 |
| 19 | }, | 19 | }, |
| 20 | upConf:{ | 20 | upConf:{ |
| 21 | prefixPath:'paylist/images/', //上传到七牛后有一个路径前缀,可为空 | 21 | prefixPath:'paylist/images/', //上传到七牛后有一个路径前缀,可为空 |
| @@ -178,6 +178,7 @@ Page({ | @@ -178,6 +178,7 @@ Page({ | ||
| 178 | files.splice(index,1) | 178 | files.splice(index,1) |
| 179 | this.setData({ | 179 | this.setData({ |
| 180 | files:files, | 180 | files:files, |
| 181 | + hasAddFile:files.length<5 | ||
| 181 | }) | 182 | }) |
| 182 | util.toast('图片已删除','none') | 183 | util.toast('图片已删除','none') |
| 183 | }, | 184 | }, |
-
Please register or login to post a comment