This commit is contained in:
syuilo 2018-02-18 22:14:51 +09:00
parent 211b62eb92
commit 43ee5267c2
5 changed files with 19 additions and 12 deletions

View file

@ -15,13 +15,18 @@
<script lang="ts">
import Vue from 'vue';
export default Vue.extend({
props: ['folder', 'browser'],
props: ['folder'],
data() {
return {
hover: false,
draghover: false
};
},
computed: {
browser(): any {
return this.$parent;
}
},
methods: {
onClick() {
this.browser.move(this.folder);