|
|
@ -21,8 +21,8 @@ |
|
|
|
</template> |
|
|
|
|
|
|
|
<script setup lang="ts"> |
|
|
|
import { ref, useAttrs, watch } from 'vue'; |
|
|
|
import { getCssVar } from 'quasar'; |
|
|
|
import { ref, useAttrs } from 'vue'; |
|
|
|
|
|
|
|
const attrs = useAttrs(); |
|
|
|
const props = defineProps({ |
|
|
@ -85,6 +85,12 @@ const props = defineProps({ |
|
|
|
}); |
|
|
|
const splitterModel = ref(props.size); |
|
|
|
const lineColor = props.separatorColor || getCssVar('primary'); |
|
|
|
watch( |
|
|
|
() => props.size, |
|
|
|
(newVal, oldVal) => { |
|
|
|
splitterModel.value = newVal; |
|
|
|
}, |
|
|
|
); |
|
|
|
</script> |
|
|
|
|
|
|
|
<style lang="css"> |
|
|
|