@@ -61,6 +61,11 @@
{{ item.article }}
+
+
+
+
+
来源
@@ -142,14 +147,20 @@ const handleFocusTitle = () => {
const handleBlurTitle = () => {
isEditTitle.value = false
}
-const handleShare = () => {
- useCopyToClipboard().copy(window.location.href)
+const handleShare = (hash) => {
+ useCopyToClipboard().copy(window.location.href + (hash ? '#' + hash : ''))
toast.add({
icon: 'i-heroicons-information-circle-20-solid',
timeout: 2000,
title: '链接已复制到剪贴板'
})
}
+const handleCopyMD = (index) => {
+
+}
+const handleReGenerate = (index) => {
+
+}
const steps = ['', '问题分析', '代码搜索', '整理答案', '完成!']
const stepColor = (step) => {