diff --git a/package.json b/package.json index aa1c7deb0adb6e6aea5a1380426189ac24eee7a7..44a0020a5980a24465f7598b8cf006b97a82c740 100644 --- a/package.json +++ b/package.json @@ -7,6 +7,7 @@ "preview": "vite preview --port 4173" }, "dependencies": { + "console": "^0.7.2", "guess": "^1.0.2", "vue": "^3.2.37" }, diff --git a/src/components/TheWelcome.vue b/src/components/TheWelcome.vue index 8ddca9d307796aae4f0e5832824561cc386350ed..b51df9109a9b70e70db06099a870eca85b82c3c3 100644 --- a/src/components/TheWelcome.vue +++ b/src/components/TheWelcome.vue @@ -20,7 +20,7 @@ export default { buttonClicked() { alert('你好'); - console.log("测试一下") + console.log("测hi啊 "); this.title='哈哈111' }