Task:指引功能/状态接口对接
This commit is contained in:
@@ -137,7 +137,7 @@
|
||||
</view>
|
||||
</mescroll-body>
|
||||
</view>
|
||||
<FunctionGuide :maxStep="maxStep" :guideData="functionGuideData" ref="FunctionGuide"></FunctionGuide>
|
||||
<FunctionGuide :maxStep="maxStep" @hide="setGuide(pageKeyId)" :guideData="functionGuideData" ref="FunctionGuide"></FunctionGuide>
|
||||
</view>
|
||||
</template>
|
||||
|
||||
@@ -197,7 +197,7 @@ export default {
|
||||
maxStep() {
|
||||
const stepsMap = {
|
||||
0: 1,
|
||||
1: 1,
|
||||
1: 2,
|
||||
}
|
||||
return stepsMap[this.type] || 1
|
||||
}
|
||||
@@ -230,6 +230,7 @@ export default {
|
||||
this.getMapData()
|
||||
}
|
||||
this.init()
|
||||
this.queryGuide(this.pageKeyId)
|
||||
},
|
||||
methods: {
|
||||
showFunctionGuide() {
|
||||
@@ -294,6 +295,9 @@ export default {
|
||||
})
|
||||
return
|
||||
} else {
|
||||
if(this.type === 1) {
|
||||
this.$refs.FunctionGuide.show = false
|
||||
}
|
||||
return
|
||||
}
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user