Sendya 6 лет назад
Родитель
Сommit
ddecc8293b

+ 8 - 1
src/components/page/GlobalFooter.vue

@@ -7,6 +7,7 @@
       </a>
       <a href="https://ant.design/">Ant Design</a>
       <a href="https://vuecomponent.github.io/ant-design-vue/docs/vue/introduce-cn/">Vue Antd</a>
+      <a>Antd-Vue Version@{{ version }}</a>
     </div>
     <div class="copyright">
       Copyright
@@ -17,8 +18,14 @@
 </template>
 
 <script>
+  import { version } from 'ant-design-vue'
   export default {
-    name: 'LayoutFooter'
+    name: 'LayoutFooter',
+    data () {
+      return {
+        version
+      }
+    }
   }
 </script>
 

+ 1 - 1
src/views/form/advancedForm/AdvancedForm.vue

@@ -55,7 +55,7 @@
     </a-card>
 
     <!-- fixed footer toolbar -->
-    <footer-tool-bar :style="{ width: isSideMenu()  && isDesktop() ? `calc(100% - ${sidebarOpened ? 256 : 80}px)` : '100%'}">
+    <footer-tool-bar :style="{ width: isSideMenu() && isDesktop() ? `calc(100% - ${sidebarOpened ? 256 : 80}px)` : '100%'}">
       <a-button type="primary" @click="validate" :loading="loading">提交</a-button>
     </footer-tool-bar>
   </div>