mirror of
https://gitee.com/vant-contrib/vant.git
synced 2025-04-06 03:57:59 +08:00
[Improvement] Sku: message maxlength (#1271)
This commit is contained in:
parent
9431412906
commit
108c7c1eb1
@ -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')}`;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user