Browse Source

Signed-off-by: zhaobao <528046418@qq.com>

zhaobao 3 năm trước cách đây
mục cha
commit
ed66895557
1 tập tin đã thay đổi với 14 bổ sung4 xóa
  1. 14 4
      src/views/model/attr/index.vue

+ 14 - 4
src/views/model/attr/index.vue

@@ -296,15 +296,25 @@ function goBack() {
               </template>
             </el-table-column>
 
-            <el-table-column label="长度" width="90">
+            <el-table-column label="长度" width="130">
               <template #default="scope">
-                <el-input v-model="scope.row.attrLength" />
+                <el-input-number
+                  v-model="scope.row.attrLength" style="width:100px"
+                  :min="0"
+                  controls-position="right"
+                  size="large"
+                />
               </template>
             </el-table-column>
 
-            <el-table-column label="小数位数" width="90">
+            <el-table-column label="小数位数" width="130">
               <template #default="scope">
-                <el-input v-model="scope.row.attrDecimals" />
+                <el-input-number
+                  v-model="scope.row.attrDecimals" style="width:100px"
+                  :min="1"
+                  controls-position="right"
+                  size="large"
+                />
               </template>
             </el-table-column>