mirror of
https://gitee.com/hhyykk/ipms-sjy.git
synced 2025-07-15 11:35:06 +08:00
版本 1.7.0 发布:增加微信公众号、站内信、邮箱、数据脱敏!
This commit is contained in:
@ -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);
|
||||
}
|
||||
}
|
||||
};
|
||||
|
Reference in New Issue
Block a user