Init
This commit is contained in:
@@ -46,9 +46,9 @@ const fetch = async () => {
|
||||
const response = await axios.get(route('ccountry.active'))
|
||||
ccountry.value = response.data
|
||||
ccountry_filter.value = ccountry.value.map((country) => [ country.currency_code, country.country_name ]);
|
||||
// ccountry_list.value = ccountry.value.map((country) => country.country_name );
|
||||
ccountry_list.value = ccountry.value.map((country) => country.country_name );
|
||||
|
||||
// console.log("TEST=",ccountry_filter.value, ccountry_list.value);
|
||||
console.log("TEST=",ccountry_filter.value, ccountry_list.value);
|
||||
} catch (e) {
|
||||
const response = await Swal.fire({
|
||||
title: __('are you want to try again') + '?',
|
||||
@@ -99,6 +99,7 @@ onMounted(fetch);
|
||||
/>
|
||||
|
||||
<multiselect
|
||||
:multiple="true"
|
||||
v-model="selected"
|
||||
:options="ccountry_list">
|
||||
</multiselect>
|
||||
|
||||
Reference in New Issue
Block a user