起步软件技术论坛
搜索
 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 1415|回复: 1

[处理中3] data绑定数据绑定不上

[复制链接]

6

主题

9

帖子

17

积分

新手上路

Rank: 1

积分
17
QQ
发表于 2018-7-20 16:57:00 | 显示全部楼层 |阅读模式
<div component="$UI/system/components/justep/output/output" class="x-output" xid="output5" bind-ref="data1.ref('a4')" style="width:110px;text-align:center;font-weight:bold;color:#FF0000;"></div>

使用output一直出问题  提示:Uncaught ReferenceError: Unable to process binding "component: function (){return {ref:主要参数,name:'$model/UI2/system/components/justep/output/output'} }"
Message: 主要参数 is not defined;
View: $model/UI2/v_/emp_app/08equiprundata/EquipDemo.w;
未定义的引用错误:无法处理绑定“组件:函数”
发表于 2018-7-20 17:10:23 | 显示全部楼层
如果 把 bind-ref="data1.ref('a4')" 去掉就不报错了是吗??

重新在设计器中选择一下 字段试试看,data组件的xid 和字段 确定是正确的!

不行就重新拖放一个output组件吧!
qq:1912779713
WeX5教程--WeX5下载
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

小黑屋|手机版|X3技术论坛|Justep Inc.    

GMT+8, 2024-9-24 23:25 , Processed in 0.133606 second(s), 23 queries .

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

快速回复 返回顶部 返回列表