DAD._table 改为 MOM._table
This commit is contained in:
@@ -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 ********************/
|
||||
|
||||
|
||||
Reference in New Issue
Block a user