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