Skip to content

微信小程序中 uni-popup-dialog 的 mode 为 input 时, type 只会显示 info 的效果 #1052

@hao-li

Description

@hao-li

例如下面代码

<uni-popup-dialog
  v-model="confirmReason"
  ref="inputClose"
  :focus="false"
  mode="input"
  title="确认拒绝"
  type="error"
  placeholder="请输入拒绝原因"
  @confirm="handleConfirmRefuse"
/>

type 指定为 error,最终title应为红色,但实际仍为灰色。
删去 mode="input" 后,title可以正常显示为红色。

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions