查阅了网上很多的方法,但是基本上都是关于微信小程序的设置方式(基于语法相似性,基本上微信小程序的写法钉钉的也可以用),微信小程序写法:

var rotateClassItem = 'rotateClass['+ index + ']';
that.setData({
      [rotateClassItem]: !that.data.rotateClass[index]
})

本人请测过并不适用

所以我提供的写法类似于js的原生写法

钉钉小程序,动态修改数组数据

目前正在做钉钉企业内部应用开发,希望和各位同仁有机会交流!目前在整文件上传。。。。

相关文章:

  • 2021-08-07
  • 2022-12-23
  • 2021-05-23
  • 2021-11-04
  • 2022-02-09
  • 2022-12-23
  • 2021-12-30
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2021-12-25
  • 2022-01-18
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-06-26
相关资源
相似解决方案