mirror of
https://github.com/misskey-dev/misskey.git
synced 2024-12-30 20:29:13 +01:00
Refactor
This commit is contained in:
parent
9d5701f35a
commit
f8b3f66904
1 changed files with 10 additions and 10 deletions
|
@ -65,6 +65,16 @@ export default Vue.extend({
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
|
data() {
|
||||||
|
return {
|
||||||
|
count: 0,
|
||||||
|
active: true,
|
||||||
|
dragging: false,
|
||||||
|
draghover: false,
|
||||||
|
dropready: false
|
||||||
|
};
|
||||||
|
},
|
||||||
|
|
||||||
computed: {
|
computed: {
|
||||||
isTemporaryColumn(): boolean {
|
isTemporaryColumn(): boolean {
|
||||||
return this.column == null;
|
return this.column == null;
|
||||||
|
@ -84,16 +94,6 @@ export default Vue.extend({
|
||||||
getColumnVm: { from: 'getColumnVm' }
|
getColumnVm: { from: 'getColumnVm' }
|
||||||
},
|
},
|
||||||
|
|
||||||
data() {
|
|
||||||
return {
|
|
||||||
count: 0,
|
|
||||||
active: true,
|
|
||||||
dragging: false,
|
|
||||||
draghover: false,
|
|
||||||
dropready: false
|
|
||||||
};
|
|
||||||
},
|
|
||||||
|
|
||||||
watch: {
|
watch: {
|
||||||
active(v) {
|
active(v) {
|
||||||
if (v && this.isScrollTop()) {
|
if (v && this.isScrollTop()) {
|
||||||
|
|
Loading…
Reference in a new issue