页面中遇到的问题

143 阅读1分钟

状态的颜色变化

type={row.status === true '' : 'info'}

style="color:red"

传递数据包含两个同级数据时

saveContent(){
    apixxxxxx((
        list: this.formData,
        healthScore: this.healthScore
    )).then(() => {
    this.$message.success('恭喜成功')
}

code 的mock值打开yapi必须为1

@cword(3,10) 随机3-10个文字

@cname 随机人名

@datetime 随机的年月日时间

^0{0,1}(13[0-9]|14[0-9]|15[0-9]|17[0-9]|18[0-9]19[0-9])[0-9]{8}$ 随机的手机号