update AIChart, customer followup, media selector
This commit is contained in:
@@ -70,6 +70,7 @@ type SelectionMode = "single" | "multiple";
|
||||
|
||||
interface Props {
|
||||
enableScan?: boolean;
|
||||
initialKeyword?: string;
|
||||
modelValue: string | string[];
|
||||
visible: boolean;
|
||||
selectionMode?: SelectionMode;
|
||||
@@ -78,6 +79,7 @@ interface Props {
|
||||
|
||||
const props = withDefaults(defineProps<Props>(), {
|
||||
enableScan: true,
|
||||
initialKeyword: "",
|
||||
selectionMode: "single",
|
||||
storeId: ""
|
||||
});
|
||||
@@ -289,6 +291,7 @@ watch(() => props.visible, async (value) => {
|
||||
return;
|
||||
}
|
||||
syncDraftSelection();
|
||||
keyword.value = props.initialKeyword;
|
||||
await reloadCustomers();
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user