Solution. Get the MD5 value of the picture and send it to the background for comparison.
I. Introduction to spark-md5.js
var sMD5 = require('../../../utils/spark-md5.js ')
Second, choose a picture to get a file.
Third, spark-md5.js
Reference: /aaron 9 185/ Articles/Details /848550 14