fix: fix editable cells cannot be entered

This commit is contained in:
nebv
2020-10-13 01:40:10 +08:00
parent beb4c3a37f
commit 4500214b2a
4 changed files with 10 additions and 16 deletions

View File

@@ -1,7 +1,5 @@
<template>
<div class="p-4">
<div ref="chartRef" :style="{ height, width }" />
</div>
<div ref="chartRef" :style="{ height, width }" />
</template>
<script lang="ts">
import { defineComponent, PropType, ref, Ref, onMounted } from 'vue';
@@ -18,7 +16,7 @@
},
height: {
type: String as PropType<string>,
default: '80vh',
default: 'calc(100vh - 78px)',
},
},
setup() {

View File

@@ -1,7 +1,5 @@
<template>
<div class="p-4">
<div ref="chartRef" :style="{ height, width }" />
</div>
<div ref="chartRef" :style="{ height, width }" />
</template>
<script lang="ts">
import { defineComponent, PropType, ref, Ref, onMounted } from 'vue';
@@ -18,7 +16,7 @@
},
height: {
type: String as PropType<string>,
default: '80vh',
default: 'calc(100vh - 78px)',
},
},
setup() {

View File

@@ -1,7 +1,5 @@
<template>
<div class="p-4">
<div ref="chartRef" :style="{ height, width }" />
</div>
<div ref="chartRef" :style="{ height, width }" />
</template>
<script lang="ts">
import { defineComponent, PropType, ref, Ref, onMounted } from 'vue';
@@ -16,7 +14,7 @@
},
height: {
type: String as PropType<string>,
default: '80vh',
default: 'calc(100vh - 78px)',
},
},
setup() {