Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
有没有一种简单的方法可以告诉 form.submit() 有不同的 successProperty?分机从不调用success()
我们的响应如下所示:
{ code: 'success', data: { foo: bar } }
是的。创建表单更改reader属性时,您可以在其中定义不同的新 Json 阅读器successProperty。
reader
successProperty
Ext.create('Ext.form.Form', { reader: Ext.create('Ext.data.reader.Json', { successProperty: 'code' }) })