view 中 vx:if 渲染失败,怎么办呢?

小程序 文章 2021-03-16 19:01 319 0 全屏看文

AI助手支持GPT4.0

view 中 vx:if 渲染失败,怎么办呢?The vx:if rendering fails in the view, what should I do?

view 中 vx:if 渲染失败,怎么办呢?

1.想做一个手动推送的监控,名字是遍历出来的,想做成异常情况才把 描述的标签 显示出来,正常情况 不显示 “描述”标签

在做的过程中,我在js中填写代码如下,无论我写在 radio里还是view中都没有在wxml页面中 成功隐藏或显示。。。。

console.log已打印出正常值,在前面的页面采用vx:if方式


求大神指导。

另外,列表是遍历做的,若修改一个正常或异常 是否会影响到整个列表中的 正常,异常按钮?

1. I want to do a manual push monitoring. The name is traversed, and the description tag is displayed only when I want to make an exception. Normally, the "description" tag is not displayed. In the process of doing this, I fill in the code in JS as follows. No matter I write it in radio or view, it is not successfully hidden or displayed in the wxml page.... console.log Has printed out the normal value, in front of the page using VX: if method for God guidance. In addition, the list is traversed. If you modify a normal or exception, will it affect the normal and exception buttons in the whole list?

回答:

brave:

wx:if 谁告诉你的 vx:if

浮生凉筑:

wx:if

Samuel.Schnappi:

不愚蠢,给出代码片段供大家帮你,别发截图啊

假亦真:

可能问题有些愚蠢,请见谅,谢谢。

-EOF-

AI助手支持GPT4.0


国内超级便宜服务器

摸鱼人热门新闻聚合

钻级赞助商 我要加入

开发者在线工具

第三方支付技术请加QQ群

相关文章
申请公测未导入流量,这个时间有点久啊,麻烦运营团队帮助查看一下
开发工具是最新的开发版,基础库用最新的,为什么通过wx.login接口还是获取不到unionID?
之前有个小程序,又开发了一个新的小程序,新开发的小程序可以用之前的名称吗?
请问公司小程序管理账号丢失,怎样才能换管理账号?
个人小程序为什么没有webview权限?
随便看看
企业微信通讯录账号被管理员误/恶意删除,怎么办? 8370
问题? 7486
如何快速搭建抽奖助手小程序(无需代码知识) 5162
许涛 大哥在吗, 要解冻小程序的时候提示信息主体不一致, 能帮忙看下吗? 6223
小程序搜一搜全称搜索不显示 麻烦解决一下!谢谢 5734
我的小程序广告收款主体是个体工商户,每个月邮寄两次发票很是麻烦,我年底的时候打包邮寄一次可以么? 5305
如何解决渲染层网络错误Failed to load media? 16655
小程序找号找回 释放昵称? 2596
我的小程序广告主收入5301,实际进账4406,是怎么回事呀? 2572
删除部分微信用户个人数据的通知,怎么删除? 5630