VueJS - DOMException: “The operation is insecure.”
问题 I am getting DOMException: "The operation is insecure." error in the console from my website (using Vue). It only happens when it's hosted on github pages but it it doesn't error when it's being run locally. Github page url: https://cubxity.github.io/ks/#/display/2227?scopes=&displayTime=true My browser is Firefox, build id: 20181206201918 回答1: TL;DR: This isn't a Vue issue: you cannot programmatically alter the contents of a form input through the DOM. Input file fields are more rigorously