1
This commit is contained in:
@@ -403,7 +403,15 @@ export default {
|
|||||||
},
|
},
|
||||||
selectType(it) {
|
selectType(it) {
|
||||||
if (!it) return
|
if (!it) return
|
||||||
|
// 如果选择的是同一个型号,不重复提交
|
||||||
|
if (this.form.productType === it.name) {
|
||||||
|
return
|
||||||
|
}
|
||||||
this.form.productType = it.name
|
this.form.productType = it.name
|
||||||
|
// 自动提交请求获取评论
|
||||||
|
this.$nextTick(() => {
|
||||||
|
this.generate()
|
||||||
|
})
|
||||||
},
|
},
|
||||||
async generate() {
|
async generate() {
|
||||||
// 检查按钮是否被禁用
|
// 检查按钮是否被禁用
|
||||||
|
|||||||
Reference in New Issue
Block a user