File tree Expand file tree Collapse file tree 2 files changed +10
-8
lines changed Expand file tree Collapse file tree 2 files changed +10
-8
lines changed Original file line number Diff line number Diff line change 1
1
# Changelog
2
2
3
+ ## 0.83.2
4
+ * Improve invalid controller method reference
5
+
3
6
## 0.83.1
4
7
* Update invalid controller method reference
5
8
Original file line number Diff line number Diff line change @@ -110,16 +110,15 @@ export default {
110
110
this .currentControllerType = ControllerType;
111
111
}
112
112
113
- if (
114
- this .$refs .currentController &&
115
- this .$refs .currentController [controller .method ]
116
- ) {
113
+ if (controller .method ) {
117
114
118
115
this .$nextTick (() => {
119
- this .$refs .currentController [controller .method ](
120
- controller .params ,
121
- controller .query
122
- );
116
+ if (this .$refs .currentController [controller .method ]) {
117
+ this .$refs .currentController [controller .method ](
118
+ controller .params ,
119
+ controller .query
120
+ );
121
+ }
123
122
});
124
123
125
124
}
You can’t perform that action at this time.
0 commit comments