Browse Source

图片保存

panhui 4 years ago
parent
commit
64d82e566e
2 changed files with 2 additions and 2 deletions
  1. 1 1
      src/components/Post.vue
  2. 1 1
      src/views/account/About.vue

+ 1 - 1
src/components/Post.vue

@@ -197,7 +197,7 @@ export default {
                 imageSaver.saveBase64Image(
                     { data: this.img },
                     function (filePath) {
-                        _this.$toast('File saved on ' + filePath);
+                        _this.$toast('图片已保存至 ' + filePath + ' 文件夹');
                         _this.show = false;
                         console.log('File saved on ' + filePath);
                     },

+ 1 - 1
src/views/account/About.vue

@@ -55,7 +55,7 @@ export default {
                 imageSaver.saveBase64Image(
                     { data: this.codeImg },
                     function (filePath) {
-                        _this.$toast('File saved on ' + filePath);
+                        _this.$toast('图片已保存至 ' + filePath + ' 文件夹');
                         _this.show = false;
                         console.log('File saved on ' + filePath);
                     },