mirror of
https://github.com/youzan/vant.git
synced 2025-10-22 11:54:02 +00:00
[Improvement] Sku: message maxlength (#1271)
This commit is contained in:
@@ -18,6 +18,7 @@
|
||||
<field
|
||||
v-else
|
||||
v-model="messageValues[index].value"
|
||||
maxlength="200"
|
||||
:key="`${goodsId}-${index}`"
|
||||
:required="message.required == '1'"
|
||||
:label="message.name"
|
||||
@@ -142,10 +143,6 @@ export default create({
|
||||
return this.$t('id_no');
|
||||
}
|
||||
}
|
||||
|
||||
if (value.length > 200) {
|
||||
return `${message.name} ${this.$t('overlimit')}`;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user