完全vue渲染列表的功能
去掉不必要的js函数定义 修改返回json的方式
This commit is contained in:
@@ -135,8 +135,7 @@ class TaxController extends AuditController
|
||||
}
|
||||
|
||||
$model->select(['customer_tax.*','customer.code as customer_code', 'customer.name as customer_name']);
|
||||
$rows = $model->paginate($query['limit']);
|
||||
return response()->json($rows);
|
||||
return $model->paginate($query['limit']);
|
||||
}
|
||||
return $this->render([
|
||||
'search' => $search,
|
||||
|
||||
Reference in New Issue
Block a user