Browse Source

fix: 经纬度小数输入框

zhangying 11 months ago
parent
commit
4b37083fb8
1 changed files with 3 additions and 2 deletions
  1. 3 2
      vue/src/views/companyService/company/edit.vue

+ 3 - 2
vue/src/views/companyService/company/edit.vue

@@ -136,7 +136,8 @@
             :label-col="{ span: 8 }"
             :label-col="{ span: 8 }"
             name="longitude"
             name="longitude"
           >
           >
-            <a-input v-model:value="dataModel.longitude" placeholder="" :rows="4"/>
+            <a-input-number style="width: 100%" :controls="false" v-model:value="dataModel.longitude" placeholder=""
+                            :rows="4"/>
           </a-form-item>
           </a-form-item>
         </a-col>
         </a-col>
         <a-col :span="8">
         <a-col :span="8">
@@ -145,7 +146,7 @@
             :label-col="{ span: 8 }"
             :label-col="{ span: 8 }"
             name="latitude"
             name="latitude"
           >
           >
-            <a-input v-model:value="dataModel.latitude" placeholder=""/>
+            <a-input-number style="width: 100%" :controls="false" v-model:value="dataModel.latitude" placeholder=""/>
           </a-form-item>
           </a-form-item>
         </a-col>
         </a-col>
         <a-col :span="8">
         <a-col :span="8">