forked from github/dataease
fix: 修复打包报错问题
This commit is contained in:
parent
97288c14cb
commit
24982a350a
@ -23,8 +23,7 @@
|
|||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script setup lang="ts">
|
<script setup lang="ts">
|
||||||
import { computed, nextTick, toRefs } from 'vue'
|
import { computed, nextTick, toRefs, getCurrentInstance, onMounted } from 'vue'
|
||||||
import { getCurrentInstance, onMounted } from 'vue/dist/vue'
|
|
||||||
const props = defineProps({
|
const props = defineProps({
|
||||||
element: {
|
element: {
|
||||||
type: Object
|
type: Object
|
||||||
@ -32,7 +31,6 @@ const props = defineProps({
|
|||||||
})
|
})
|
||||||
const { element } = toRefs(props)
|
const { element } = toRefs(props)
|
||||||
|
|
||||||
|
|
||||||
let currentInstance
|
let currentInstance
|
||||||
const timeMargin = computed(() => {
|
const timeMargin = computed(() => {
|
||||||
return element.value.style.time_margin
|
return element.value.style.time_margin
|
||||||
|
Loading…
Reference in New Issue
Block a user