DAD._table 改为 MOM._table

This commit is contained in:
Luk Lu
2020-02-10 16:04:07 +08:00
parent 2e1bbe2904
commit 4e2a4b35db
6 changed files with 9 additions and 4 deletions

View File

@@ -8,9 +8,10 @@ const DAD = module.exports = function ActionStore (prop) {
this.type = this.constructor.name
}
DAD.__proto__ = Action
// DAD._table=DAD.name // 注释掉从而继承父类Action的数据库表格名
const MOM = DAD.prototype
MOM.__proto__ = Action.prototype
// MOM._table=DAD.name // 注释掉从而继承父类Action的数据库表格名
/** ****************** Shared by instances ********************/