Browse Source

bug 修复

lilei 2 years ago
parent
commit
74017356b7
1 changed files with 1 additions and 1 deletions
  1. 1 1
      pages/shelfSetting/editShelf.vue

+ 1 - 1
pages/shelfSetting/editShelf.vue

@@ -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>