|
|
@@ -298,11 +298,17 @@
|
|
|
// 打开不同的反馈组件
|
|
|
openFeedBack(type = null) {
|
|
|
if (type == 'support') {
|
|
|
- this.$refs.supportFB.open(this.detail)
|
|
|
+ this.$nextTick(() => {
|
|
|
+ this.detail ? this.$refs.supportFB.open(this.detail) : this.$refs.supportFB.open()
|
|
|
+ })
|
|
|
} else if (type == 'sale') {
|
|
|
- this.$refs.saleFB.open(this.detail)
|
|
|
+ this.$nextTick(() => {
|
|
|
+ this.detail ? this.$refs.saleFB.open(this.detail) : this.$refs.saleFB.open()
|
|
|
+ })
|
|
|
} else {
|
|
|
- this.$refs.tryFB.open(this.detail, type)
|
|
|
+ this.$nextTick(() => {
|
|
|
+ this.detail ? this.$refs.tryFB.open(this.detail, type) : this.$refs.tryFB.open(this.detail, type)
|
|
|
+ })
|
|
|
}
|
|
|
},
|
|
|
async getDynamics() {
|