|
@@ -8,7 +8,7 @@
|
|
|
<div slot="header" v-if="selectorType === 'card'" key="header">选择行业分类</div>
|
|
|
<div slot="header" class="s-header" v-if="selectorType === 'line'" key="header">行业分类:</div>
|
|
|
<IndustrySelectorContent
|
|
|
- ref="industrySelectorContent"
|
|
|
+ ref="content"
|
|
|
@onChange="onChange"
|
|
|
:selectorType="selectorType"
|
|
|
:initIndustry="initIndustry"
|
|
@@ -43,10 +43,10 @@ export default {
|
|
|
created () {},
|
|
|
methods: {
|
|
|
setIndustryState (data) {
|
|
|
- return this.$refs.industrySelectorContent.setIndustryState(data)
|
|
|
+ return this.$refs.content.setIndustryState(data)
|
|
|
},
|
|
|
getSelected () {
|
|
|
- return this.$refs.industrySelectorContent.getSelected()
|
|
|
+ return this.$refs.content.getSelected()
|
|
|
},
|
|
|
onCancel () {
|
|
|
this.$emit('onCancel')
|