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.
別のsuccessPropertyがあることをform.submit()に伝える簡単な方法はありますか?Extは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' }) })