页面源码地址修改,页面文档地址修改

pull/55/head
lingdu 4 years ago
parent 27d137a4ae
commit b037ee9caf

@ -1,21 +1,21 @@
<template> <template>
<div> <div>
<svg-icon icon-class="question" @click="goto"/> <svg-icon icon-class="question" @click="goto"/>
</div> </div>
</template> </template>
<script> <script>
export default { export default {
name: 'RuoYiDoc', name: 'RuoYiDoc',
data() { data() {
return { return {
url: 'http://doc.ruoyi.vip/ruoyi-vue' url: 'https://doc.ruoyi.vip/ruoyi-cloud'
} }
}, },
methods: { methods: {
goto() { goto() {
window.open(this.url) window.open(this.url)
} }
} }
} }
</script> </script>

@ -1,21 +1,21 @@
<template> <template>
<div> <div>
<svg-icon icon-class="github" @click="goto"/> <svg-icon icon-class="github" @click="goto"/>
</div> </div>
</template> </template>
<script> <script>
export default { export default {
name: 'RuoYiGit', name: 'RuoYiGit',
data() { data() {
return { return {
url: 'https://gitee.com/y_project/RuoYi-Vue' url: 'https://gitee.com/y_project/RuoYi-Cloud'
} }
}, },
methods: { methods: {
goto() { goto() {
window.open(this.url) window.open(this.url)
} }
} }
} }
</script> </script>

Loading…
Cancel
Save