1
0
mirror of https://github.com/cjango/dcat-vue.git synced 2025-12-07 06:50:03 +08:00

一些优化

This commit is contained in:
weiwait
2022-09-02 11:20:38 +08:00
parent e071e0355a
commit a0a4516356
15 changed files with 884 additions and 507 deletions

View File

@@ -7,7 +7,7 @@ use Dcat\Admin\Support\Helper;
class Tag extends Field\Tags
{
protected $view = 'weiwait.dcat-vue::tag';
protected $view = 'weiwait.dcat-vue::common';
public function render()
{
@@ -31,8 +31,6 @@ class Tag extends Field\Tags
'keyAsValue' => $this->keyAsValue,
]);
/****************************** end parent ************************************/
/****************************** field ************************************/
if (!$this->shouldRender()) {
@@ -45,7 +43,7 @@ class Tag extends Field\Tags
$this->withScript();
/****************************** end field ************************************/
/****************************** custom ************************************/
$this->withProvides();