mirror of
https://github.com/thinkjs/thinkjs.git
synced 2026-02-01 15:23:03 +00:00
update
This commit is contained in:
parent
39b339aed7
commit
b87677e1b6
@ -357,7 +357,7 @@ var Model = module.exports = Class(function(){
|
||||
if (options.alias) {
|
||||
options.table += " " + options.alias;
|
||||
};
|
||||
options.modal = this.name;
|
||||
options.model = this.name;
|
||||
return promise.then(function(fields){
|
||||
// 字段类型验证
|
||||
if (options.where && isObject(options.where) && !isEmpty(fields)) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user