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...

Menu