嗯,右键设置 源码路径后,调试正常了谢谢!
现在还有个问题,就是我把 actionUrl改为“$UI/system/service/doc/common/uploadDoc.j”后,就无法运行了,提示如下:
http://localhost:8080/x5/UI2/v_5de07e42e9844997a8d15db77a3d4e74l_zh_CNs_desktopd_pc/system/service/doc/common/uploadDoc.j Failed to load resource: the server responded with a status of 500 (Internal Server Error)
因为系统自带的文档中心 中,我看上传文件是用的这个路径,所以想试试 这样传上去后,能否在文档中心看到管理上传的文件附件;
是否这个 组件 不能使用 “$UI/system/service/doc/common/uploadDoc.j”??
嗯,我改成了 attachmentPC组件,把它的 bind-ref属性设为“$model.mainData.ref("fAttach")”这是我表内用来之前的一个字段 text类型,上传选择一个 sn.txt。报错:
http://localhost:8080/x5/UI2/v_c078f6ffeab24a9c8754c1ceb42a801al_zh_CNs_desktopd_pc/system/core.min.js Failed to load resource: the server responded with a status of 500 (Internal Server Error)