We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hi,
many of the pages are broken when I run this project. For example "uikit/Input.vue".
The CountryService is an object instance exported in service/CountryService.js:
export const CountryService = { getData() { return [ { name: 'Afghanistan', code: 'AF' },
But in "uikit/Input.vue" it is tried to instantiate these with new, as if they were classes:
import CountryService from '@/service/CountryService'; import NodeService from '@/service/NodeService'; const countryService = new CountryService(); const nodeService = new NodeService(); onMounted(() => { countryService.getCountries().then((data) => (autoValue.value = data)); nodeService.getTreeNodes().then((data) => (treeSelectNodes.value = data)); });
I think you have to either export a class from the service file and instantiate it, or use the object without calling new on it.
Regards, Sven
The text was updated successfully, but these errors were encountered:
primefaces/sakai-vue@ef6f80d
Sorry, something went wrong.
fixes primefaces#10
e34b7dc
No branches or pull requests
Hi,
many of the pages are broken when I run this project. For example "uikit/Input.vue".
The CountryService is an object instance exported in service/CountryService.js:
But in "uikit/Input.vue" it is tried to instantiate these with new, as if they were classes:
I think you have to either export a class from the service file and instantiate it, or use the object without calling new on it.
Regards,
Sven
The text was updated successfully, but these errors were encountered: