|
@@ -52,7 +52,9 @@ class View
|
|
|
if ($data['file']) {
|
|
|
foreach ($data['file'] as $k => $v) {
|
|
|
$data['file'][$k]['url'] = Dever::upload('{uploadRes}' . $v['file']);
|
|
|
- $data['file'][$k]['pic'] = Dever::upload('{uploadRes}' . $v['file']);
|
|
|
+ if (!isset($v['pic'])) {
|
|
|
+ $data['file'][$k]['pic'] = Dever::upload('{uploadRes}' . $v['file']);
|
|
|
+ }
|
|
|
}
|
|
|
}
|
|
|
|