我把attachmentSimple 放在list 下使用时,每次打开时都报
TypeError: Unable to process binding "component: function (){return {ref:ref('fSetUpImg'),name:'$model/UI2/system/components/justep/attachment/attachmentSimple'} }"
Message: Cannot read property 'length' of null
at visible (eval at <anonymous> (http://localhost:8080/x5/$v8850f75efefa439f8a245d05876fe79f$lzh_CN$s$dm/UI2/system/core.min.js:36:161891), <anonymous>:3:117)
at u.bindingHandlers.visible.update (http://localhost:8080/x5/$v8850f75efefa439f8a245d05876fe79f$lzh_CN$s$dm/UI2/system/core.min.js:36:187856)
at Object.function.u.dependentObservable.disposeWhenNodeIsRemoved [as readFunction] (http://localhost:8080/x5/$v8850f75efefa439f8a245d05876fe79f$lzh_CN$s$dm/UI2/system/core.min.js:36:164964)
at Object.u.utils.extend.evaluateImmediate (http://localhost:8080/x5/$v8850f75efefa439f8a245d05876fe79f$lzh_CN$s$dm/UI2/system/core.min.js:36:148701)
at Object.u.utils.extend.evaluatePossiblyAsync (http://localhost:8080/x5/$v8850f75efefa439f8a245d05876fe79f$lzh_CN$s$dm/UI2/system/core.min.js:36:147512)
at null.callback (http://localhost:8080/x5/$v8850f75efefa439f8a245d05876fe79f$lzh_CN$s$dm/UI2/system/core.min.js:36:146914)
at Object.f.notifySubscribers (http://localhost:8080/x5/$v8850f75efefa439f8a245d05876fe79f$lzh_CN$s$dm/UI2/system/core.min.js:36:134738)
at Object.u.utils.extend.valueHasMutated (http://localhost:8080/x5/$v8850f75efefa439f8a245d05876fe79f$lzh_CN$s$dm/UI2/system/core.min.js:36:137729)
at Object.u.utils.extend.set (http://localhost:8080/x5/$v8850f75efefa439f8a245d05876fe79f$lzh_CN$s$dm/UI2/system/core.min.js:36:137544)
at updateViewModel (http://localhost:8080/x5/$v4c5f10571bf541768aee59afd2ad86d1$lzh_CN$s$dm/UI2/system/lib/bind/bind.mapping.js:402:25)
后台不报错,直接使用就没有问题,不放list里用。