File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 7474 name: 'resource-create',
7575 params: { resourceId: listResource.resourceId },
7676 query: {
77- values: (JSON.stringify({[listResourceRefColumn.name]: props.record[selfPrimaryKeyColumn.name]})),
78- readonlyColumns: (JSON.stringify([listResourceRefColumn.name])),
77+ values: encodeQueryJSON (JSON.stringify({[listResourceRefColumn.name]: props.record[selfPrimaryKeyColumn.name]})),
78+ readonlyColumns: encodeQueryJSON (JSON.stringify([listResourceRefColumn.name])),
7979 returnTo: $route.fullPath,
8080 },
8181 }"
@@ -131,7 +131,7 @@ import {
131131 IconPlusOutline ,
132132} from ' @iconify-prerendered/vue-flowbite' ;
133133import { showErrorTost , showWarningTost } from ' @/composables/useFrontendApi' ;
134- import { getIcon } from ' @/utils' ;
134+ import { getIcon , encodeQueryJSON } from ' @/utils' ;
135135import { useI18n } from ' vue-i18n' ;
136136
137137const { t } = useI18n ();
You can’t perform that action at this time.
0 commit comments