我试过这个教程我在此链接
我的代码是
<!DOCTYPE html>
<html>
<head>
<link href="cropper.css" rel="stylesheet" />
</head>
<body>
<img id="teh" src="image.png" />
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.4.1/jquery.min.js"></script>
<script src="cropper.js"></script>
<script>
$("#teh").cropper();
</script>
</body>
</html>
但是,它Uncaught TypeError: $(...).cropper is not a function
在$("#teh").cropper();