diff --git a/app/admin/view/api/upload/image.html b/app/admin/view/api/upload/image.html index aacce5539..6502e0656 100644 --- a/app/admin/view/api/upload/image.html +++ b/app/admin/view/api/upload/image.html @@ -99,7 +99,7 @@ }, // 上传图片文件 uploadImage: function () { - this.$ups.off('choose').on('choose', function (e, xurl) { + this.$ups.one('push', function (e, xurl) { app.setValue(xurl); }).click(); },