Commit cb1e991d by 胡悦

提交

1 parent 716d90a0
......@@ -3,14 +3,14 @@
* @Author: huyue
* @Date: 2023-07-07 14:01:42
* @LastEditors: huyue
* @LastEditTime: 2023-09-11 11:09:19
* @LastEditTime: 2023-09-11 14:28:11
-->
<template>
<div>
<div v-if="!isEmpty">
<div v-show="!isEmpty">
<div :id="domId" style="width: 100%" :style="{ height }"></div>
</div>
<div v-else class="empty" :style="{ height }">
<div v-show="isEmpty" class="empty" :style="{ height }">
<Empty></Empty>
</div>
</div>
......@@ -103,6 +103,9 @@ export default {
this[this.domId].resize()
})
}
},
updated() {
this[this.domId].resize()
}
}
</script>
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!