* Rewrite view page of product.

This commit is contained in:
daitingting
2018-04-16 16:55:32 +08:00
parent 9797921bb2
commit bf326f57ff
8 changed files with 249 additions and 158 deletions
+1 -5
View File
@@ -21,7 +21,7 @@ class file extends control
* @access public
* @return void
*/
public function buildForm($fileCount = 1, $percent = 0.9, $filesName = 'files', $labelsName = 'labels')
public function buildForm()
{
if(!file_exists($this->file->savePath))
{
@@ -34,10 +34,6 @@ class file extends control
return false;
}
$this->view->fileCount = $fileCount;
$this->view->percent = $percent;
$this->view->filesName = $filesName;
$this->view->labelsName = $labelsName;
$this->display();
}