diff --git a/src/views/account/about.vue b/src/views/account/about.vue index b82905bd1..8e90445a1 100644 --- a/src/views/account/about.vue +++ b/src/views/account/about.vue @@ -59,9 +59,12 @@ import { Descriptions, Card, Tag } from 'ant-design-vue'; const { pkg, lastBuildTime } = __APP_INFO__; - const BlankLink = ({ url = '', text }) => ( - - {text} - - ); + const BlankLink = ({ url = '', text }) => { + const target = /^http(s)?:/.test(url) ? url : `https://www.npmjs.com/package/${url}`; + return ( + + {text} + + ); + };