|
@ -21,7 +21,7 @@ |
|
|
<template #control> |
|
|
<template #control> |
|
|
<div ref="codemirrorRef" style="width: 100%" @focus.stop.prevent="() => {}" @click.stop.prevent="() => {}"></div> |
|
|
<div ref="codemirrorRef" style="width: 100%" @focus.stop.prevent="() => {}" @click.stop.prevent="() => {}"></div> |
|
|
</template> |
|
|
</template> |
|
|
<template #append> |
|
|
<template v-if="!Tools.isEmpty(codeMirrorValue)" #append> |
|
|
<q-btn |
|
|
<q-btn |
|
|
round |
|
|
round |
|
|
dense |
|
|
dense |
|
@ -273,7 +273,7 @@ const updateModelValue = (value) => { |
|
|
}; |
|
|
}; |
|
|
const buttonClick = (button) => { |
|
|
const buttonClick = (button) => { |
|
|
if (button.click) { |
|
|
if (button.click) { |
|
|
button.click(toRaw(codeMirrorValue), props.form); |
|
|
button.click(toRaw(codeMirrorValue.value), props.form); |
|
|
} |
|
|
} |
|
|
}; |
|
|
}; |
|
|
|
|
|
|
|
|