added path control for vueJS method.

This commit is contained in:
Cüneyt Şentürk 2023-05-10 12:07:42 +03:00
parent bfbe70fc8a
commit 50450e6318

View File

@ -505,6 +505,10 @@ export default {
// Dynamic component get path view and show it.
onDynamicComponent(path) {
if (! path) {
return;
}
axios.get(path)
.then(response => {
let html = response.data.html;
@ -562,6 +566,10 @@ export default {
},
onDynamicFormParams(path, params) {
if (! path) {
return;
}
let data = {};
for (const [key, value] of Object.entries(params)) {