开发者

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'
     },
    ....
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜