兼容Null类型

pull/383/head
Ataris 6 years ago committed by GitHub
parent 6b447b250a
commit bb0b21a340
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -2,7 +2,7 @@ import { mock } from 'mockjs'
const scopes = ['request', 'response']
const methods = ['GET', 'POST', 'PUT', 'DELETE']
const types = ['String', 'Number', 'Boolean', 'Object', 'Array', 'Function', 'RegExp']
const types = ['String', 'Number', 'Boolean', 'Object', 'Array', 'Function', 'RegExp', 'Null']
const values = ['@INT', '@FLOAT', '@TITLE', '@NAME']
let USER_ID = 100000000
@ -102,4 +102,4 @@ export const BO_PROPERTY_FN = (source: any) => {
}),
source,
)
}
}

Loading…
Cancel
Save