Under ie and Firefox, use download.js to download pictures and save them without suffixes and cannot open them.

download.js is used in vue to download all png files downloaded normally by Google, but ie and Google downloaded files do not have a suffix and cannot be opened directly

    methods: {
        load()
        {
            // eslint-disable-next-line no-undef
            download(this.imgurl, this.data.examName, "image/png");
        },

clipboard.png

clipboard.png
url

clipboard.png

under

IE

  • Wechat distribution problem

    We have encountered the following problems in the distribution system! For example, A user shares his URL. B users come according to the URL shared by A users, so judge whether A users follow the official account! If there is no attention, the follow but...

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b351ad-2b7b3.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b351ad-2b7b3.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?