Jelajahi Sumber

Merge pull request #844 from yyri/master

<a-form-item> should be nested under <a-col>
JEECG开源社区 5 tahun lalu
induk
melakukan
ed83135062
1 mengubah file dengan 6 tambahan dan 6 penghapusan
  1. 6 6
      ant-design-vue-jeecg/src/views/jeecg/helloworld.vue

+ 6 - 6
ant-design-vue-jeecg/src/views/jeecg/helloworld.vue

@@ -19,11 +19,11 @@
         <a-cascader :options="areaOptions" @change="onChange" :showSearch="{filter}" placeholder="Please select" />
         <a-cascader :options="areaOptions" @change="onChange" :showSearch="{filter}" placeholder="Please select" />
       </a-form-item>
       </a-form-item>
       </a-col>
       </a-col>
-      <a-form-item :wrapperCol="{ span: 12, offset: 5 }">
-        <a-col :md="24" :sm="24">
-        <a-button type="primary" htmlType="submit">Submit</a-button>
-        </a-col>
-      </a-form-item>
+      <a-col :md="24" :sm="24">
+        <a-form-item :wrapperCol="{ span: 12, offset: 5 }">
+          <a-button type="primary" htmlType="submit">Submit</a-button>
+        </a-form-item>
+      </a-col>
     </a-form>
     </a-form>
   </a-card>
   </a-card>
 </template>
 </template>
@@ -68,4 +68,4 @@
       })
       })
     }
     }
   }
   }
-</script>
+</script>