feat: toProduct未输入提示词时不可生成
This commit is contained in:
@@ -720,6 +720,11 @@ export default defineComponent({
|
||||
let remPrductimgTime: any = null
|
||||
let prductimgTime: any = null
|
||||
let getPrductimg = () => {
|
||||
// 未输入prompt时不可生成
|
||||
if (!productImgData.searchName[props.productimgMenu.value]) {
|
||||
message.info(t('ProductImg.noPrompt'))
|
||||
return
|
||||
}
|
||||
if (productImgData.isProductimg) return
|
||||
clearInterval(remPrductimgTime)
|
||||
let selectArr: any = []
|
||||
|
||||
Reference in New Issue
Block a user