升级jquery到最新版3.6.0

This commit is contained in:
RuoYi
2021-08-31 09:43:56 +08:00
parent 489ab40a8c
commit fe31918f76
6 changed files with 11 additions and 27 deletions

View File

@@ -169,7 +169,7 @@
<script type="text/javascript">
var cropper;
var croppable = false;
$(window).load(function() {
$(window).on('load', function() {
var image = document.getElementById('avatar');
cropper = new Cropper(image, {
aspectRatio: 1,