Skip to content

Commit

Permalink
Merge pull request #151 from linhaojun857/dev
Browse files Browse the repository at this point in the history
FIx Aurora Dia
  • Loading branch information
linhaojun857 committed Nov 17, 2023
2 parents afb0d77 + 9d0de9c commit 19f72d0
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,9 @@
<ob-skeleton v-if="!article.tags" :count="2" tag="li" height="16px" width="35px" />
</ul>
</span>
<h1 class="article-title" v-if="article.articleTitle" @click="toArticle" data-dia="article-link">
<h1 class="article-title" v-if="article.articleTitle" @click="toArticle">
<a>
<span> {{ article.articleTitle }}</span>
<span data-dia="article-link"> {{ article.articleTitle }}</span>
<svg-icon v-if="article.status == 2" icon-class="lock" class="lock-svg" />
</a>
</h1>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,9 @@
<ob-skeleton v-else :count="2" tag="li" height="16px" width="35px" />
</ul>
</span>
<h1 class="article-title" v-if="article.articleTitle" @click="toArticle" data-dia="article-link">
<h1 class="article-title" v-if="article.articleTitle" @click="toArticle">
<a>
<span>{{ article.articleTitle }}</span>
<span data-dia="article-link">{{ article.articleTitle }}</span>
<svg-icon v-if="article.status == 2" icon-class="lock" class="lock-svg" />
</a>
</h1>
Expand Down
10 changes: 4 additions & 6 deletions aurora-vue/aurora-blog/src/utils/aurora-dia/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -155,12 +155,10 @@ class AuroraBotSoftware {
}
}
registerEventListener() {
const devtools = () => {
console.log('opened devtools')
}
console.log('%c', devtools)
devtools.toString = () => {
this.showMessage(this.botTips.console, 6000, 9)
document.onkeydown = (event) => {
if (event.key === 'F12') {
this.showMessage(this.botTips.console, 6000, 9)
}
}
document.addEventListener('copy', () => {
this.showMessage(this.botTips.copy, 6000, 9)
Expand Down

0 comments on commit 19f72d0

Please sign in to comment.