Multiple URLs in proxy
How can I use multiple URLs in a proxy in E开发者_StackOverflowxtjs 4?
Proxy:{
url:'?'
}
Thanks
storename.getProxy().url='your-url'
in your store:
proxy: {
type: 'ajax',
api: {
read: '/controller/read',
update: '/controller/update',
create: '/controller/create'
},
....
精彩评论