{"remainingRequest":"/data/jenkins/workspace/mer.ws.baibaodun.com.cn/node_modules/vue-loader/lib/index.js??vue-loader-options!/data/jenkins/workspace/mer.ws.baibaodun.com.cn/src/components/base/TimeSelect.vue?vue&type=script&lang=js","dependencies":[{"path":"/data/jenkins/workspace/mer.ws.baibaodun.com.cn/src/components/base/TimeSelect.vue","mtime":1701742078546},{"path":"/data/jenkins/workspace/mer.ws.baibaodun.com.cn/node_modules/babel-loader/lib/index.js","mtime":456789000000},{"path":"/data/jenkins/workspace/mer.ws.baibaodun.com.cn/node_modules/cache-loader/dist/cjs.js","mtime":499162500000},{"path":"/data/jenkins/workspace/mer.ws.baibaodun.com.cn/node_modules/vue-loader/lib/index.js","mtime":499162500000}],"contextDependencies":[],"result":["//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n\n// +----------------------------------------------------------------------\n// | CRMEB [ CRMEB赋能开发者，助力企业发展 ]\n// +----------------------------------------------------------------------\n// | Copyright (c) 2016~2023 https://www.crmeb.com All rights reserved.\n// +----------------------------------------------------------------------\n// | Licensed CRMEB并不是自由软件，未经许可不能去掉CRMEB相关版权\n// +----------------------------------------------------------------------\n// | Author: CRMEB Team <admin@crmeb.com>\n// +----------------------------------------------------------------------\n\nexport default {\n  name: 'TimeSelect',\n  data() {\n    return {\n      startTime: '',\n      endTime: '',\n    };\n  },\n  props: {\n    value: {},\n  },\n  beforeMount() {\n    // 接收 v-model 数据\n    if (this.value) {\n      this.startTime = this.value.split(',')[0];\n      this.endTime = this.value.split(',')[1];\n    }\n  },\n  watch: {\n    startTime: function (val) {\n      this.$emit('input', [val, this.endTime].join(','));\n    },\n    endTime: function (val) {\n      this.$emit('input', [this.startTime, val].join(','));\n    },\n  },\n};\n",null]}