mirror of
https://github.com/thinkjs/thinkjs.git
synced 2026-02-01 15:23:03 +00:00
fix think.model.mongo is undefined
This commit is contained in:
parent
4c8734fc73
commit
d46cd30601
@ -258,7 +258,7 @@ export default class {
|
||||
*/
|
||||
loadMVC(){
|
||||
let types = {
|
||||
model: ['base', 'relation'],
|
||||
model: ['base', 'relation', 'mongo', 'adv'],
|
||||
controller: ['base', 'rest'],
|
||||
logic: ['base'],
|
||||
service: ['base']
|
||||
|
||||
@ -1,3 +1,8 @@
|
||||
'use strict';
|
||||
|
||||
/**
|
||||
* adv model
|
||||
*/
|
||||
export default class extends think.model.base {
|
||||
|
||||
}
|
||||
Loading…
x
Reference in New Issue
Block a user