add nova
This commit is contained in:
1 parent
76d18365a5
commit
061f09eca1
1597 files changed
+109451
-1
No files matched your search
@@ -0,0 +1,24 @@
|
||||
<template>
|
||||
<div class="scroll-wrap overflow-x-hidden overflow-y-auto" :style="style">
|
||||
<slot />
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
export default {
|
||||
props: {
|
||||
height: {
|
||||
type: Number,
|
||||
default: 288,
|
||||
},
|
||||
},
|
||||
|
||||
computed: {
|
||||
style() {
|
||||
return {
|
||||
maxHeight: `${this.height}px`,
|
||||
}
|
||||
},
|
||||
},
|
||||
}
|
||||
</script>
|
||||
Reference in new issue
Block a user