作者热门文章
- html - 出于某种原因,IE8 对我的 Sass 文件中继承的 html5 CSS 不友好?
- JMeter 在响应断言中使用 span 标签的问题
- html - 在 :hover and :active? 上具有不同效果的 CSS 动画
- html - 相对于居中的 html 内容固定的 CSS 重复背景?
我的应用程序在开发过程中运行良好,文件下载运行良好。
现在,在使用 -production 构建应用程序后,此代码 sipped 失败。
它试图加载一些没有名称的“/.js”文件?!?
我认为这是requires : ['Ext.form.FormPanel'],
日志消息已打印,但表单提交失败并显示 c is not a constructir
:(
onInvoiceDownloadButtonClicked : function(grid, rowIndex, colIndex, item, e, record) {
console.log('button pressed');
var fp = new Ext.form.FormPanel({
url : 'back/invoice/get/' + record.get('id'),
standardSubmit : true,
method : 'POST'
});
console.log(fp);
fp.form.submit();
}
最佳答案
使用以下命令构建具有测试模式的应用程序:
sencha app build testing
关于extjs6 - Extjs 6 'c is not a constructor',我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/37372272/
我是一名优秀的程序员,十分优秀!