class Wares02BarCode(PkMixin, table=True): __tablename__ = "wares_02_barcode_test" __table_args__ = {"schema": "goods"} # 指定模式名 使用pgsql定义模型指定模式名称后,在web的列表页面看不到模型数据。数据库中有数据,前端显示的却是空