mirror of
https://github.com/Tencent/tmagic-editor.git
synced 2025-05-06 02:26:06 +08:00
parent
1876ccb377
commit
cb2ff28129
@ -91,5 +91,6 @@ const addHandler = () => {
|
|||||||
|
|
||||||
const deleteHandler = (index: number) => {
|
const deleteHandler = (index: number) => {
|
||||||
records.value.splice(index, 1);
|
records.value.splice(index, 1);
|
||||||
|
emit('change', getValue());
|
||||||
};
|
};
|
||||||
</script>
|
</script>
|
||||||
|
@ -47,6 +47,7 @@ const props = withDefaults(
|
|||||||
parse?: boolean;
|
parse?: boolean;
|
||||||
}>(),
|
}>(),
|
||||||
{
|
{
|
||||||
|
initValues: '',
|
||||||
autoSave: true,
|
autoSave: true,
|
||||||
language: 'javascript',
|
language: 'javascript',
|
||||||
options: () => ({
|
options: () => ({
|
||||||
|
Loading…
x
Reference in New Issue
Block a user