我将图片转成base64编码后传输给小程序,
小程序接收后,将图片放到image标签的src中,
然后电脑cpu和内存就无限上涨,
哪位大佬知道此问题的根源,求指导
如果你会用sass的话,可以尝试用sass来编写代码,然后用ruby将scss文件转成wxss文件就好了。
链接:https://blog.csdn.net/mChales_Liu/article/details/99674807
没有复现,
data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAYAAABXAvmHAAAHiElEQVRogc2aXWxU1xHHf3Pu7rL23l0bY7CNTbBSEr4aQVCE3IaQoDwACRBSpaBKbZWHViWq1ChAU1AVNX1oqVoRVShSkBIhhCIUEgkQ6UOhopCUSKkq9eMlIglq4mCDYxPFXt9d27t7z/Th7i62Wdt7bWP17yffOTPnP+fOmZlz9wizAFWNpzOZR1F9GJWlKrSKaptCK4AIXYp0i9KNaCciH6QSifdEZHimc8t0FbPZ7JKCtd9VZTOwEYiHNDEMvIdwPmrM27W1td3T4RHagXRaG1UyLwF7gNh0Jh0PhSGEI47q4WQy2RdGt2oHVNVNe97PVdkrIm54mlXNMSjCKynXPSwig9XoVOVAOj28XCV/FmTFzChWC/0oFolsq6mp+WyqkVM64Hne4wWrp0UkNTvkqoXeEnV2plK1H0w2ykwm7B/M/MRXzs89eQBpVLF/HfC8H0w2akIH+gczewQ9Cjizzq16xFBO9A9m9kw0oGIIpbPZb6tvLwPRu0YtHPKiZlOlcLrDgWw225b3/X+CLJwbbtVC+6KOs662trZr9NMxIaSqyZxv3/3/Iw8gC3O+PaeqYwrmGAfSnrdPYO3cEqseAg+mPe/AuGcBPM9rKlj9WETqpmPcqgXAyKSJrepxE0FV++uSbruIDABESgJfOTgd8ooiSJlQV7aLq95HfJX/inQuKKapWJIF0QWscFfRVtt2h24YiEj9QCZzEDgAxTfgeV6Tr3xOyIZMVRER8jbPn26e4+zN03QNd/PlUA825kOsuMo5i8k5NNU00xZvZWfLd9jWsoOoiZZthJoXhiLCva7r9giUc/5rYYxYtRgxXO67xOFrv+fTzKdIVMBXtACOOJjiFrNYfP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