@@ -1,6 +1,6 @@
<template>
<view style="padding: 1rem;background: #fff;width:100%;height: 100vh;" class="flex flex_column">
- <view style="flex:1;"><u-input style="border-radius: 50rpx;" focus height="90" v-model="shelfName" border placeholder="请输入货架名称"></u-input></view>
+ <view style="flex:1;"><u-input style="border-radius: 50rpx;" focus height="90" :maxlength="30" v-model="shelfName" border placeholder="请输入货架名称(最多30个字符)"></u-input></view>
<view><u-button @click="save" shape="circle" type="primary">保存</u-button></view>
</view>
</template>