版本 1.7.0 发布:增加微信公众号、站内信、邮箱、数据脱敏!

This commit is contained in:
YunaiV
2023-01-30 02:30:42 +08:00
parent 8684468f50
commit ca8bb72417
18 changed files with 61 additions and 6 deletions

View File

@ -1,5 +1,9 @@
<template>
<el-alert v-if="enable()" :title="'【' + title + '】文档地址:' + url" type="success" show-icon />
<el-alert v-if="enable()" type="success" show-icon>
<template slot="title">
<div @click="goToUrl">{{ '' + title + '文档地址' + url }}</div>
</template>
</el-alert>
</template>
<script>
@ -14,6 +18,9 @@ export default {
methods: {
enable: function () {
return getDocEnable();
},
goToUrl: function() {
window.open(this.url);
}
}
};