{"remainingRequest":"D:\\jenkins\\workspace\\xq-web-fvue\\node_modules\\thread-loader\\dist\\cjs.js!D:\\jenkins\\workspace\\xq-web-fvue\\node_modules\\babel-loader\\lib\\index.js!D:\\jenkins\\workspace\\xq-web-fvue\\node_modules\\cache-loader\\dist\\cjs.js??ref--0-0!D:\\jenkins\\workspace\\xq-web-fvue\\node_modules\\vue-loader\\lib\\index.js??vue-loader-options!D:\\jenkins\\workspace\\xq-web-fvue\\src\\components\\tabbar\\TabBarItem.vue?vue&type=script&lang=js&","dependencies":[{"path":"D:\\jenkins\\workspace\\xq-web-fvue\\src\\components\\tabbar\\TabBarItem.vue","mtime":1667327529700},{"path":"D:\\jenkins\\workspace\\xq-web-fvue\\babel.config.js","mtime":1667327525434},{"path":"D:\\jenkins\\workspace\\xq-web-fvue\\node_modules\\cache-loader\\dist\\cjs.js","mtime":499162500000},{"path":"D:\\jenkins\\workspace\\xq-web-fvue\\node_modules\\thread-loader\\dist\\cjs.js","mtime":499162500000},{"path":"D:\\jenkins\\workspace\\xq-web-fvue\\node_modules\\babel-loader\\lib\\index.js","mtime":315532800000},{"path":"D:\\jenkins\\workspace\\xq-web-fvue\\node_modules\\cache-loader\\dist\\cjs.js","mtime":499162500000},{"path":"D:\\jenkins\\workspace\\xq-web-fvue\\node_modules\\vue-loader\\lib\\index.js","mtime":499162500000}],"contextDependencies":[],"result":["import \"core-js/modules/es6.string.link\";\nimport \"core-js/modules/es7.array.includes\";\nimport \"core-js/modules/es6.string.includes\";\n//\n//\n//\n//\n//\n//\n//\n//\n//\nexport default {\n  name: \"TabBarItem\",\n  props: {\n    link: String,\n    activeColor: {\n      type: String\n    }\n  },\n  data: function data() {\n    return {};\n  },\n  computed: {\n    isActive: function isActive() {\n      // 当前活跃路由路径跟传过来的是否一致\n      // 一致返回true\n      return this.$route.path.includes(this.link);\n    },\n    activeStyle: function activeStyle() {\n      return this.isActive ? {\n        color: this.activeColor\n      } : {};\n    }\n  },\n  methods: {\n    itemClick: function itemClick() {\n      // 当前活跃路由路径跟传过来的不一致时才进行路由跳转\n      if (this.$route.path != this.link) {\n        this.$router.push(this.link);\n      }\n    }\n  }\n};",null]}