Browse Source

perf(views): 优化表单在弹框中样式异常问题

wangshun 2 weeks ago
parent
commit
350675afe8

+ 8 - 0
src/views/create-customer/EquipmentLimitations.vue

@@ -78,6 +78,14 @@ defineExpose({
   </div>
 </template>
 
+<style lang="scss">
+.organization .set-content {
+  .ant-form-item .ant-form-item-label {
+    width: 78px;
+  }
+}
+</style>
+
 <style lang="scss" scoped>
 .input-number {
   width: 100px;

+ 8 - 0
src/views/create-customer/EstablishOrganization.vue

@@ -351,6 +351,14 @@ onMounted(() => {
   </div>
 </template>
 
+<style lang="scss">
+.organization {
+  .ant-form-item .ant-form-item-label {
+    width: 140px;
+  }
+}
+</style>
+
 <style lang="scss" scoped>
 .upper-limit {
   margin-top: 40px;