Browse Source

带代码平台

master
陈裕财 2 years ago
parent
commit
5ec6fe713e
  1. 9
      src/views/login/components/login.vue

9
src/views/login/components/login.vue

@ -76,9 +76,9 @@
</el-button> </el-button>
</div> </div>
</div> </div>
<mdp-dialog ref="starDialog" width="600px" title="hi~同学,来支持一下【唛盟开源项目】吧,为项目点个Star!">
<el-row>
<el-link :href="$mdp.getOpenSourceLink()" target="_blank" type="primary" icon="el-icon-star-off">唛盟项目</el-link>
<mdp-dialog ref="starDialog" width="600px" title="hi~同学,来支持一下【唛盟开源】吧,为项目点个Star!">
<el-row class="center">
<el-button size="large" @click="toStar" target="_blank" type="warning" icon="el-icon-star-off">唛盟项目</el-button>
</el-row> </el-row>
<template #footer="{visible,data,dialog}"> <template #footer="{visible,data,dialog}">
<el-row slot="footer"> <el-row slot="footer">
@ -425,6 +425,9 @@ export default {
}).catch((e) => { }).catch((e) => {
this.loading = false this.loading = false
}) })
},
toStar(){
window.open(this.$mdp.getOpenSourceLink())
} }
}, },
created() { created() {

Loading…
Cancel
Save