diff --git a/src/App.vue b/src/App.vue
index 07cafc9aeda29b9e65368c8941ed09db5cabfa73..383b0db76b807db77b0590309e2cf90504ccfcf7 100644
--- a/src/App.vue
+++ b/src/App.vue
@@ -4,12 +4,13 @@ import GameChart from './components/GameChart.vue'
import SearchGrade from './components/SearchGrade.vue'
import Draw from './components/draw/Draw.vue'
import Commit from './components/commit/Commit.vue'
+import Drag from './components/drag/Drag.vue'
import { reactive, onBeforeMount,onMounted } from 'vue';
import html2canvas from 'html2canvas';
// state
const state = reactive({
- current: '评论'
+ current: '拖拽'
})
/** 下载图片 */
@@ -81,6 +82,9 @@ onBeforeMount(() => {
else if(data['type'] = 'commit'){
state.current = '评论'
}
+ else if(data['type'] = 'grag'){
+ state.current = '拖拽'
+ }
}
})
@@ -93,6 +97,7 @@ onBeforeMount(() => {
csdn新星赛道可视化
随机抽奖
csdn分析评论
+ 拖拽
截图
@@ -102,6 +107,7 @@ onBeforeMount(() => {
+
diff --git a/src/components/drag/Drag.vue b/src/components/drag/Drag.vue
new file mode 100644
index 0000000000000000000000000000000000000000..c0366bcfadf638ba30757b40655f26545fcfecd0
--- /dev/null
+++ b/src/components/drag/Drag.vue
@@ -0,0 +1,9 @@
+
+
+ 拖拽
+
+
+
+
\ No newline at end of file