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

fixed bugs

This commit is contained in:
weiwait
2023-03-08 17:15:08 +08:00
parent e7c55e8374
commit a2328fdd88
3 changed files with 10 additions and 2 deletions

View File

@@ -41,8 +41,13 @@ class Distpicker extends Field
*/
public function __construct($label)
{
$this->areaId = md5(Str::uuid());
parent::__construct([], [$label]);
$this->areaId = md5(Str::uuid());
$this->view = 'weiwait.dcat-vue::common';
$this->makeVid();
}
public function dist(string $province = null, string $city = null, string $district = null): self