mirror of
https://github.com/xlmnxp/extractify.zip.git
synced 2024-11-23 17:13:12 +03:00
try auto build
This commit is contained in:
parent
bbec68ad91
commit
043c0450d6
4
app.vue
4
app.vue
@ -95,7 +95,6 @@ watchEffect(() => {
|
|||||||
let dragContainer = document.querySelector(".select-area");
|
let dragContainer = document.querySelector(".select-area");
|
||||||
|
|
||||||
function onSelectStart(e: any) {
|
function onSelectStart(e: any) {
|
||||||
console.log("start", e);
|
|
||||||
e.added.forEach((el: any) => {
|
e.added.forEach((el: any) => {
|
||||||
el.classList.add("selected");
|
el.classList.add("selected");
|
||||||
});
|
});
|
||||||
@ -105,7 +104,6 @@ function onSelectStart(e: any) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
function onSelectEnd(e: any) {
|
function onSelectEnd(e: any) {
|
||||||
console.log("end", e);
|
|
||||||
e.afterAdded.forEach((el: any) => {
|
e.afterAdded.forEach((el: any) => {
|
||||||
el.classList.add("selected");
|
el.classList.add("selected");
|
||||||
});
|
});
|
||||||
@ -159,7 +157,7 @@ function onSelectEnd(e: any) {
|
|||||||
:selectFromInside="false" :toggleContinueSelect="'shift'" @select="onSelectStart" @selectStart="onSelectStart"
|
:selectFromInside="false" :toggleContinueSelect="'shift'" @select="onSelectStart" @selectStart="onSelectStart"
|
||||||
:get-element-rect="getElementInfo"
|
:get-element-rect="getElementInfo"
|
||||||
@selectEnd="onSelectEnd" />
|
@selectEnd="onSelectEnd" />
|
||||||
<h1 v-if="!files.length">Drag and drop compressed files here</h1>
|
<h1 v-if="!files.length">Drag compressed files here</h1>
|
||||||
</v-main>
|
</v-main>
|
||||||
</v-layout>
|
</v-layout>
|
||||||
</template>
|
</template>
|
||||||
|
Loading…
Reference in New Issue
Block a user