@ditojs/admin 2.85.1 → 2.85.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ditojs/admin",
|
|
3
|
-
"version": "2.85.
|
|
3
|
+
"version": "2.85.2",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "Dito.js Admin is a schema based admin interface for Dito.js Server, featuring auto-generated views and forms and built with Vue.js",
|
|
6
6
|
"repository": "https://github.com/ditojs/dito/tree/master/packages/admin",
|
|
@@ -93,5 +93,5 @@
|
|
|
93
93
|
"typescript": "^5.9.3",
|
|
94
94
|
"vite": "^7.3.1"
|
|
95
95
|
},
|
|
96
|
-
"gitHead": "
|
|
96
|
+
"gitHead": "5df899baaf437537dced07893eeb4f06c1797c53"
|
|
97
97
|
}
|
package/src/mixins/RouteMixin.js
CHANGED
|
@@ -102,12 +102,12 @@ export default {
|
|
|
102
102
|
}
|
|
103
103
|
},
|
|
104
104
|
|
|
105
|
-
beforeRouteUpdate(to, from
|
|
106
|
-
this?.beforeRouteChange(to, from
|
|
105
|
+
beforeRouteUpdate(to, from) {
|
|
106
|
+
return this?.beforeRouteChange(to, from)
|
|
107
107
|
},
|
|
108
108
|
|
|
109
|
-
beforeRouteLeave(to, from
|
|
110
|
-
this?.beforeRouteChange(to, from
|
|
109
|
+
beforeRouteLeave(to, from) {
|
|
110
|
+
return this?.beforeRouteChange(to, from)
|
|
111
111
|
},
|
|
112
112
|
|
|
113
113
|
created() {
|
|
@@ -123,7 +123,7 @@ export default {
|
|
|
123
123
|
},
|
|
124
124
|
|
|
125
125
|
methods: {
|
|
126
|
-
beforeRouteChange(to, from
|
|
126
|
+
beforeRouteChange(to, from) {
|
|
127
127
|
let ok = true
|
|
128
128
|
const isClosing = (
|
|
129
129
|
// Only handle this route change if the form is actually mapped to the
|
|
@@ -161,7 +161,7 @@ export default {
|
|
|
161
161
|
}
|
|
162
162
|
}
|
|
163
163
|
}
|
|
164
|
-
|
|
164
|
+
return ok
|
|
165
165
|
},
|
|
166
166
|
|
|
167
167
|
getRoutePath(recordPath) {
|