Skip to content

Commit 31ba7b9

Browse files
committed
chore: cleanup
1 parent 63b7961 commit 31ba7b9

File tree

2 files changed

+9
-2
lines changed

2 files changed

+9
-2
lines changed

src/components/page/GlobalFooter.vue

+8-1
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
</a>
88
<a href="https://ant.design/">Ant Design</a>
99
<a href="https://vuecomponent.github.io/ant-design-vue/docs/vue/introduce-cn/">Vue Antd</a>
10+
<a>Antd-Vue Version@{{ version }}</a>
1011
</div>
1112
<div class="copyright">
1213
Copyright
@@ -17,8 +18,14 @@
1718
</template>
1819

1920
<script>
21+
import { version } from 'ant-design-vue'
2022
export default {
21-
name: 'LayoutFooter'
23+
name: 'LayoutFooter',
24+
data () {
25+
return {
26+
version
27+
}
28+
}
2229
}
2330
</script>
2431

src/views/form/advancedForm/AdvancedForm.vue

+1-1
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@
5555
</a-card>
5656

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

0 commit comments

Comments
 (0)