This commit is contained in:
ichynul 2024-04-29 17:51:42 +08:00
parent 5f6fa110cf
commit 93109a1ca6
No known key found for this signature in database
GPG Key ID: FB4F1E1AAA3F5C1F
1 changed files with 1 additions and 1 deletions

View File

@ -14,7 +14,7 @@ class MultipleImage extends MultipleFile
{
$this->image();
$this->canUpload = !$this->readonly && $this->canUpload && (empty($this->extKey) || stripos($this->extKey, '-watch-') !== false);
$this->canUpload = !$this->readonly && $this->canUpload && ($this->isInTable || empty($this->extKey) || stripos($this->extKey, '-watch-') !== false);
if (!$this->canUpload) {
if (empty($this->default)) {