+
+
+
+
+ {{ state.query }}
+
+
+
/
+
收藏
+
+
+ 分享
+
+
+
+
+
{{ state.query }}
@@ -111,6 +133,15 @@ const state = reactive({
query: route.query.query || '',
repo: route.query.repo || ''
})
+const isEditTitle = ref(false)
+const titleRef = ref(null)
+
+const handleFocusTitle = () => {
+ isEditTitle.value = true
+}
+const handleBlurTitle = () => {
+ isEditTitle.value = false
+}
const steps = ['', '问题分析', '代码搜索', '整理答案', '完成!']
const stepColor = (step) => {