Commit c4f7c301 by 徐忆琳

Merge branch 'xuyl_v3.13_0' into 'scrmv3.13.0'

修改弹框点击两次问题

See merge request !5
2 parents 15b6ca0e ee8b39c3
<template>
<div class='view-content-bottom'>
<view-dialog-table :showFuncIntro='showFuncIntro' :selectedData='selectedData'></view-dialog-table>
<!-- :showFuncIntro='showFuncIntro'-->
<view-dialog-table :selectedData='selectedData'></view-dialog-table>
<div class='view-content-search'>
<el-form
inline
......@@ -313,9 +314,9 @@ export default {
const { merchantName, merchantId } = row
const list = this.switchType(row, type)
this.selectedData = { ...list[index], merchantName, type, merchantId }
this.$nextTick(() => {
this.showFuncIntro = !this.showFuncIntro
})
// this.$nextTick(() => {
// this.showFuncIntro = !this.showFuncIntro
// })
}
}
}
......
......@@ -77,10 +77,10 @@ export default {
name: 'ViewDialogTable',
mixins: [tableDetailMixin],
props: {
showFuncIntro: {
type: Boolean,
default: false
},
// showFuncIntro: {
// type: Boolean,
// default: false
// },
selectedData: {
type: Object,
default: {}
......@@ -88,6 +88,7 @@ export default {
},
data() {
return {
showFuncIntro:false,
getListApi: this.api.renewal.getDetail,
pageConf: { pageSize: 'pageSize', pageNum: 'pageNum', totalCount: 'totalNum' },
tableParams: null,
......@@ -130,8 +131,10 @@ export default {
// '活动1'
this.renewalSearchForm.merchantId = newValue.merchantId
// '4419194XX'
setTimeout(() => {
this.$refs.renewalListRef?.refreshTable()
this.showFuncIntro = true
}, 500)
},
deep: true,
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!