Skip to content

Commit ef3af58

Browse files
chouchoujichouchouji
andauthored
fix: 通过 this 调用方法 (#1006)
Co-authored-by: chouchouji <[email protected]>
1 parent f0401c2 commit ef3af58

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

uni_modules/uni-popup/components/uni-popup-dialog/uni-popup-dialog.vue

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -156,11 +156,11 @@
156156
}
157157
},
158158
value(val) {
159-
setVal(val)
159+
this.setVal(val)
160160
},
161161
// #ifdef VUE3
162162
modelValue(val) {
163-
setVal(val)
163+
this.setVal(val)
164164
},
165165
// #endif
166166
val(val) {
@@ -324,4 +324,4 @@
324324
.uni-popup__info {
325325
color: #909399;
326326
}
327-
</style>
327+
</style>

0 commit comments

Comments
 (0)