Skip to content

Commit f4d8db0

Browse files
committed
docs: add ad link
1 parent 45c7163 commit f4d8db0

File tree

1 file changed

+9
-5
lines changed

1 file changed

+9
-5
lines changed

antdv-demo/components/footer.vue

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,12 @@
11
<script>
2+
import moment from 'moment';
23
export default {
34
props: {
45
isCN: Boolean,
56
},
67
render() {
78
const isCN = this.isCN;
9+
const showPpy = moment().isBefore(moment('2021-06-15'));
810
return (
911
<footer id="footer">
1012
<div class="footer-wrap">
@@ -88,11 +90,13 @@ export default {
8890
Vue CLI
8991
</a>
9092
</div>
91-
<div>
92-
<a href="http://www.jeecg.com/" rel="noopener noreferrer" target="_blank">
93-
Jeecg Boot
94-
</a>
95-
</div>
93+
{showPpy && (
94+
<div>
95+
<a href="https://www.pengpengyu.com/" target="_blank">
96+
砰砰鱼
97+
</a>
98+
</div>
99+
)}
96100
</div>
97101
</a-col>
98102
<a-col md={6} sm={24} xs={24}>

0 commit comments

Comments
 (0)