8000 add police ICP in footer · pycoder404/blog-vue@99ec8a2 · GitHub
[go: up one dir, main page]

Skip to content

Commit 99ec8a2

Browse files
committed
add police ICP in footer
1 parent 782d43d commit 99ec8a2

File 8000 tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

src/layout/components/MainFooter.vue

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,17 +2,21 @@
22
<div class="main-footer">
33
<span>Copyright@pycoder404</span>
44
<br>
5-
<span>{{ ICP_ID }}</span>
5+
<el-link hre 9A40 f="https://beian.miit.gov.cn" type="info"> {{ ICP_ID }}</el-link>
6+
<el-link href="https://beian.miit.gov.cn" type="info"> {{ POL_ICP_ID }}</el-link>
7+
68
</div>
79
</template>
810

911
<script>
1012
const VUE_APP_ICP_ID = process.env.VUE_APP_ICP_ID
13+
const VUE_APP_POL_ICP_ID = process.env.VUE_APP_POL_ICP_ID
1114
export default {
1215
name: "MainFooter",
1316
data() {
1417
return {
15-
ICP_ID: VUE_APP_ICP_ID
18+
ICP_ID: VUE_APP_ICP_ID,
19+
POL_ICP_ID:VUE_APP_POL_ICP_ID
1620
}
1721
}
1822
}

0 commit comments

Comments
 (0)
0