release v2.0.0 #4

Merged
crimsen merged 481 commits from develop into master 2024-01-18 15:15:08 +00:00
1 changed files with 2 additions and 1 deletions
Showing only changes of commit 459a9fea08 - Show all commits

View File

@ -72,7 +72,8 @@ export default defineComponent({
emits: { save: () => true, cancel: () => true }, emits: { save: () => true, cancel: () => true },
setup(props, { emit }) { setup(props, { emit }) {
onBeforeMount(() => { onBeforeMount(() => {
edit_drink.value = Object.assign({}, props.drink); edit_drink.value = <Drink>JSON.parse(JSON.stringify(props.drink));
console.log('edit_drink', edit_drink.value)
}); });
const edit_drink = ref<Drink>(); const edit_drink = ref<Drink>();