diff --git a/aurora-vue/aurora-blog/src/components/ArticleCard/src/ArticleCard.vue b/aurora-vue/aurora-blog/src/components/ArticleCard/src/ArticleCard.vue
index 5138c09e..be38bfee 100644
--- a/aurora-vue/aurora-blog/src/components/ArticleCard/src/ArticleCard.vue
+++ b/aurora-vue/aurora-blog/src/components/ArticleCard/src/ArticleCard.vue
@@ -38,9 +38,9 @@
-
+
diff --git a/aurora-vue/aurora-blog/src/components/ArticleCard/src/HorizontalArticle.vue b/aurora-vue/aurora-blog/src/components/ArticleCard/src/HorizontalArticle.vue
index 6bab884f..9738101b 100644
--- a/aurora-vue/aurora-blog/src/components/ArticleCard/src/HorizontalArticle.vue
+++ b/aurora-vue/aurora-blog/src/components/ArticleCard/src/HorizontalArticle.vue
@@ -38,9 +38,9 @@
-
+
diff --git a/aurora-vue/aurora-blog/src/utils/aurora-dia/index.ts b/aurora-vue/aurora-blog/src/utils/aurora-dia/index.ts
index 2cb0c59b..a521c98a 100644
--- a/aurora-vue/aurora-blog/src/utils/aurora-dia/index.ts
+++ b/aurora-vue/aurora-blog/src/utils/aurora-dia/index.ts
@@ -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)