{"remainingRequest":"D:\\jenkins\\workspace\\xq-web-bpm\\node_modules\\thread-loader\\dist\\cjs.js!D:\\jenkins\\workspace\\xq-web-bpm\\node_modules\\babel-loader\\lib\\index.js!D:\\jenkins\\workspace\\xq-web-bpm\\node_modules\\cache-loader\\dist\\cjs.js??ref--0-0!D:\\jenkins\\workspace\\xq-web-bpm\\node_modules\\vue-loader\\lib\\index.js??vue-loader-options!D:\\jenkins\\workspace\\xq-web-bpm\\src\\components\\common\\HtAvatar.vue?vue&type=script&lang=js&","dependencies":[{"path":"D:\\jenkins\\workspace\\xq-web-bpm\\src\\components\\common\\HtAvatar.vue","mtime":1675071991631},{"path":"D:\\jenkins\\workspace\\xq-web-bpm\\node_modules\\cache-loader\\dist\\cjs.js","mtime":499162500000},{"path":"D:\\jenkins\\workspace\\xq-web-bpm\\node_modules\\thread-loader\\dist\\cjs.js","mtime":499162500000},{"path":"D:\\jenkins\\workspace\\xq-web-bpm\\node_modules\\babel-loader\\lib\\index.js","mtime":315532800000},{"path":"D:\\jenkins\\workspace\\xq-web-bpm\\node_modules\\cache-loader\\dist\\cjs.js","mtime":499162500000},{"path":"D:\\jenkins\\workspace\\xq-web-bpm\\node_modules\\vue-loader\\lib\\index.js","mtime":499162500000}],"contextDependencies":[],"result":["//\n//\n//\n//\n//\n//\nexport default {\n  props: [\"user\"],\n  data: function data() {\n    return {\n      userPhoto: window.context.manage + \"/img/defaultPhoto.jpg\",\n      userPhotoUrl: null,\n      defaultUserPhoto: window.context.manage + \"/img/defaultPhoto.jpg\"\n    };\n  },\n  watch: {\n    user: {\n      handler: function handler(val, oldVal) {\n        var _this = this;\n\n        if (val && val.user && val.user.photo && val !== oldVal && val.user.photo != '/img/defaultPhoto.jpg') {\n          this.$store.dispatch(\"menu/downloadImg\", val.user.photo).then(function (res) {\n            if (res != \"\") {\n              _this.userPhoto = res;\n            } else {\n              _this.userPhoto = _this.defaultUserPhoto;\n            }\n          });\n        } else {\n          this.userPhoto = this.defaultUserPhoto;\n        }\n      },\n      deep: true\n    }\n  }\n};",null]}