* Modify the error.

This commit is contained in:
tianshujie
2021-11-05 16:04:39 +08:00
parent 77da777064
commit 1424fbe869
+2 -1
View File
@@ -63,6 +63,7 @@ class branch extends control
*/
public function ajaxGetDropMenu($productID, $branch = 0, $module, $method, $extra = '')
{
$branches = $this->branch->getPairs($productID, 'all');
$this->view->link = $this->loadModel('product')->getProductLink($module, $method, $extra, true);
$this->view->productID = $productID;
$this->view->projectID = $this->session->project;
@@ -70,7 +71,7 @@ class branch extends control
$this->view->method = $method;
$this->view->extra = $extra;
$this->view->branches = $this->branch->getPairs($productID, 'all');
$this->view->branches = $branches;
$this->view->currentBranchID = $branch;
$this->view->branchesPinyin = common::convert2Pinyin($branches);
$this->display();