mirror of
https://github.com/youzan/vant.git
synced 2025-10-17 08:37:23 +00:00
fix Field test cases
This commit is contained in:
@@ -170,13 +170,12 @@ export default sfc({
|
||||
},
|
||||
attrs: {
|
||||
...this.$attrs,
|
||||
type,
|
||||
readonly: this.readonly
|
||||
},
|
||||
on: this.listeners
|
||||
};
|
||||
|
||||
const Input = type === 'textarea' ? <textarea {...inputProps} /> : <input {...inputProps} />;
|
||||
const Input = type === 'textarea' ? <textarea {...inputProps} /> : <input type={type} {...inputProps} />;
|
||||
|
||||
return (
|
||||
<Cell
|
||||
|
Reference in New Issue
Block a user