ExtJs Ext.define 怎么通过ajax获取数据显示在前台?

dongquestion dongquestion 墨衍会员 · AI 创作全网分发 墨衍智能分发 通过墨衍一键同步至各平台 可同步平台 CSDN微信公众号微博知乎掘金百家号博客园抖音小红书 你的文章也可以这样分发 墨衍会员 ¥399起/年,写一次发全网 我也要 + 加入社区
代码如下:
Ext.define('HT.view.west', {
extend: 'Ext.panel.Panel',
title: '管理目录',
alias: 'widget.west',
collapsible: true,
split: true,
width: 200,
layout: 'accordion',
region: 'west',
layoutConfig: {
titleCollapse: true,
animate: true,
activeOnTop: true
},
items: [
{
title: 'BBS交流',
items: [
{
xtype: 'button',
width: 200,
id: 'companyNotice',
text: '公司通告'
}, {
xtype: 'button',
width: 200,
id: 'saleExchange',
text: '销售交流'
}, {
xtype: 'button',
width: 200,
id: 'industryCase',
text: '行业案例'
}, {
xtype: 'button',
width: 200,
id: 'technicalSupport',
text: '技术支持'
}
]
}
],
}
items是重点。
我要通过ajax获取到数据,然后在前台展示出来。
求高手帮忙!!!
...全文
评论 4
收藏 已收藏
分享
返回顶部
dongquestion
JavaScript 87,983 成员 224,681 内容