Browse Source

去掉输入base64编码错误时的alter,输入base64编码不带'data:'前缀时自动添加

zhangning 5 years ago
parent
commit
315fb39333
2 changed files with 1 additions and 8 deletions
  1. 1 4
      .gitignore
  2. 0 4
      apps/image-base64/index.js

+ 1 - 4
.gitignore

@@ -4,7 +4,4 @@
 node_modules/
 package-lock.json
 output/apps/
-output-firefox/
-
-*.crx
-*.pem
+output-firefox/

+ 0 - 4
apps/image-base64/index.js

@@ -200,10 +200,6 @@ new Vue({
             }
         },
 
-        format:function(){
-            return this.txtBase64Output
-        },
-
         trans: function () {
             this.curType = {image: 'base64', base64: 'image'}[this.curType];
             this.nextType = {image: 'base64', base64: 'image'}[this.nextType];