Skip to content

Commit 24cdd67

Browse files
committed
components dep
1 parent 34db438 commit 24cdd67

File tree

3 files changed

+12
-0
lines changed

3 files changed

+12
-0
lines changed

src/components/radio/radio-group.vue

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
</div>
1313
</template>
1414
<script type="text/ecmascript-6">
15+
import CubeRadio from './radio.vue'
1516
const COMPONENT_NAME = 'cube-radio-group'
1617
1718
const EVENT_INPUT = 'input'
@@ -54,6 +55,9 @@
5455
return 'border-top-1px border-bottom-1px'
5556
}
5657
}
58+
},
59+
components: {
60+
CubeRadio
5761
}
5862
}
5963
</script>

src/components/rate/rate.vue

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
</template>
1616

1717
<script type="text/ecmascript-6">
18+
import CubeRateItem from './rate-item.vue'
1819
const COMPONENT_NAME = 'cube-rate'
1920
const EVENT_INPUT = 'input'
2021
@@ -90,6 +91,9 @@
9091
this.tempValue = this.max
9192
}
9293
}
94+
},
95+
components: {
96+
CubeRateItem
9397
}
9498
}
9599
</script>

src/components/slide/slide.vue

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
</template>
1515

1616
<script type="text/ecmascript-6">
17+
import CubeSlideItem from './slide-item.vue'
1718
import BScroll from 'better-scroll'
1819
1920
const COMPONENT_NAME = 'cube-slide'
@@ -219,6 +220,9 @@
219220
this.slide.destroy()
220221
this.slide = null
221222
}
223+
},
224+
components: {
225+
CubeSlideItem
222226
}
223227
}
224228
</script>

0 commit comments

Comments
 (0)