This commit is contained in:
syuilo
2020-07-24 03:15:32 +09:00
parent 6499314cb9
commit 7e9cee85b3
223 changed files with 454 additions and 443 deletions

View File

@@ -24,9 +24,9 @@
</template>
<script lang="ts">
import Vue from 'vue';
import { defineComponent } from 'vue';
export default Vue.extend({
export default defineComponent({
props: ['data'],
created() {
for (const d of this.data) {

View File

@@ -25,7 +25,7 @@
</template>
<script lang="ts">
import Vue from 'vue';
import { defineComponent } from 'vue';
function dragListen(fn) {
window.addEventListener('mousemove', fn);
@@ -39,7 +39,7 @@ function dragClear(fn) {
window.removeEventListener('mouseup', dragClear);
}
export default Vue.extend({
export default defineComponent({
props: ['data'],
data() {
return {

View File

@@ -30,10 +30,10 @@
</template>
<script lang="ts">
import Vue from 'vue';
import { defineComponent } from 'vue';
import { v4 as uuid } from 'uuid';
export default Vue.extend({
export default defineComponent({
props: {
src: {
type: Array,