Commit def267c7 by 胡悦

修复年份

1 parent 40371304
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
* @Author: huyue * @Author: huyue
* @Date: 2023-07-05 15:11:53 * @Date: 2023-07-05 15:11:53
* @LastEditors: huyue * @LastEditors: huyue
* @LastEditTime: 2023-08-14 11:10:30 * @LastEditTime: 2023-08-14 11:20:44
--> -->
<template> <template>
<div v-click-outside="handleClickOutside" @mouseleave="handleMouseLeave" v-show="isShow" class="select-box" :style="{'width': boxWidth}"> <div v-click-outside="handleClickOutside" @mouseleave="handleMouseLeave" v-show="isShow" class="select-box" :style="{'width': boxWidth}">
...@@ -74,8 +74,8 @@ export default { ...@@ -74,8 +74,8 @@ export default {
}, },
mounted() { mounted() {
console.log(this.defaultValue, this.dataList, '00000000') console.log(this.defaultValue, this.dataList, '00000000')
const { labelName, isObject, dataList, defaultValue } = this const { valueName, isObject, dataList, defaultValue } = this
this.value = defaultValue || (isObject ? dataList[0][labelName] : dataList[0]) this.value = defaultValue || (isObject ? dataList[0][valueName] : dataList[0])
}, },
methods: { methods: {
select(item) { select(item) {
......
...@@ -62,7 +62,7 @@ export default { ...@@ -62,7 +62,7 @@ export default {
}) })
}) })
this.defaultMonth = this.month = this.dataList[0].label this.defaultMonth = this.month = this.dataList[0].label
// this.$bus.$emit('crowdFundingMonth', this.defaultMonth) this.$bus.$emit('crowdFundingMonth', this.dataList[0].statMonth)
}, },
// tab切换 // tab切换
changeTab(index) { changeTab(index) {
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!