加功能
This commit is contained in:
@@ -49,7 +49,7 @@
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import GlMap from './gl-map-3.vue'
|
||||
import GlMap from './gl-map-2.vue'
|
||||
import { driver } from 'driver.js'
|
||||
import 'driver.js/dist/driver.css'
|
||||
// import { startMapping } from '../../config/mork.js'
|
||||
@@ -160,15 +160,8 @@ export default {
|
||||
nextBtnText: this.$t('next'),
|
||||
prevBtnText: this.$t('previous'),
|
||||
doneBtnText: this.$t('close'),
|
||||
onNextClick: (element, step) => {
|
||||
if (step.element === '#v-step-3') {
|
||||
this.driverActive = false
|
||||
}
|
||||
this.driver.moveNext()
|
||||
},
|
||||
onCloseClick: () => {
|
||||
onDestroyed: () => {
|
||||
this.driverActive = false
|
||||
this.driver.destroy()
|
||||
},
|
||||
onPopoverRender: (popover, {config, state}) => {
|
||||
if (state.activeIndex === 0) {
|
||||
|
||||
Reference in New Issue
Block a user