Skip to content

Commit

Permalink
nit #147
Browse files Browse the repository at this point in the history
  • Loading branch information
johnatawnclementawn committed Jan 14, 2025
1 parent 8ffb6c1 commit 557a2a0
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -76,15 +76,13 @@ const groupAndPersonOptions = ref<ResourceInstanceReference[]>();
const textualWorkOptions = ref<ResourceInstanceReference[]>();
function onUpdateString(node: keyof AppellativeStatus, val: string) {
console.log(formValue.value[node]);
(formValue.value[node] as unknown) = toRaw(val);
}
function onUpdateReferenceDatatype(
node: keyof AppellativeStatus,
val: ControlledListItem[],
) {
console.log(formValue.value[node]);
(formValue.value[node] as unknown) = val.map((item) => toRaw(item));
}
Expand All @@ -93,7 +91,6 @@ function onUpdateResourceInstance(
val: string[],
options: ResourceInstanceReference[],
) {
console.log(formValue.value[node]);
if (val.length > 0) {
const selectedOptions = options.filter((option) =>
val.includes(option.resourceId),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ const props = defineProps<{
value?: string;
ptId?: string;
}>();
console.log(props);
const emits = defineEmits(["update"]);
const onUpdate = (val: string) => {
emits("update", val);
Expand Down

0 comments on commit 557a2a0

Please sign in to comment.