最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

php - why can't the relation manager from the address appear when creating an order - Stack Overflow

programmeradmin2浏览0评论

why can't the relation manager from the address appear when creating an order but when editing and viewing it appears

 public static function getRelations(): array
    {
        return [
            AddressRelationManager::class,
        ];
    }

I have already had relations in model orders

 public function address()
    {
        return $this->hasOne(Address::class);
    }

Why is it still not showing up when placing an order?

发布评论

评论列表(0)

  1. 暂无评论