单项选择题

在Ant Design of Vue中,设置文本域组件代码正确的是()

A.<a-input placeholder="请输入文字"type="area"></a-input>
B.<a-input placeholder="请输入文字"type="text"></a-input>
C.<a-input placeholder="请输入文字"type="textarea"></a-input>
D.以上都不对

<上一题 目录 下一题>
热门 试题

单项选择题
在Ant Design of Vue中,设置价格前后缀的代码正确的是()

A.<a-input placeholder="总金额"defaultValue="0.00"><span slot="addonBefore">¥</span><span slot="addonAfter">元</span></a-input>
B.<a-input placeholder="总金额"defaultValue="0.00"><span slot="addonAfter">¥</span><span slot="addonBefore">元</span></a-input>
C.<a-input placeholder="总金额"defaultValue="0.00"><span slot="addonBefore"slot="addonAfter">¥元</span></a-input>
D.以上都不对

单项选择题
在Ant Design of Vue中,设置带有图标的密码框正确代码是()

A.<a-input placeholder="请输入密码"type="password"slot="prefix"><a-icon type="unlock"/></a-input>
B.<a-input placeholder="请输入密码"type="password"><a-icon slot="prefix"type="unlock"/></a-input>
C.<a-input placeholder="请输入密码"type="password"slot="prefix"type="unlock"><a-icon /></a-input>
D.以上都不对

相关试题
  • vue-cli的构建可以使用()
  • 子组件用来触发父组件方法的关键字是()
  • 子父组件传参通过关键字()进行。
  • img不能显示以下哪种图片?()
  • elementui的安装,哪种是正确的方式?()