2023-09-15 uview的form组件labelStyle属性如何使用

<u-form :labelStyle='lstyle'>




  computed: {
    lstyle() {
      return {
        fontWeight: 'bold'
      };
    }
  },

注意:我用的uview2.0而非1.0,1.0该属性为label-style。

posted @ 2023-09-15 15:11  叶乘风  阅读(1197)  评论(0编辑  收藏  举报