Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

能否自定义请求数据字段名称 #27

Open
fhefh2015 opened this issue Feb 25, 2019 · 0 comments
Open

能否自定义请求数据字段名称 #27

fhefh2015 opened this issue Feb 25, 2019 · 0 comments

Comments

@fhefh2015
Copy link

'''javascript
ajax = {
type: 'get',
header: {

},
first: true,
data: {},
searchUrl: '',
searchName: 'keyword',
searchVal: null,
keyName: 'name', //能否以参数形式,自定义该字段名称
keyVal: 'value', //能否以参数形式,自定义该字段名称
keySel: 'selected',
keyDis: 'disabled',
keyChildren: 'children', //能否以参数形式,自定义该字段名称
dataType: '',
delay: 500,
beforeSuccess: null,
success: null,
error: null,
beforeSearch: null,
response: {
    statusCode: 0,
    statusName: 'code',
    msgName: 'msg',
    dataName: 'data'
},
tree: {
    nextClick: function(id, item, callback) {
        callback([]);
    },
    folderChoose: true,
    lazy: true
}

},
'''

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant