|
|
@ -88,10 +88,10 @@ |
|
|
<view class="form-label">种子(随机种子为-1)</view> |
|
|
<view class="form-label">种子(随机种子为-1)</view> |
|
|
<input class="uni-input" v-model="formData.seed" type="number" placeholder="请输入种子" /> |
|
|
<input class="uni-input" v-model="formData.seed" type="number" placeholder="请输入种子" /> |
|
|
</view> |
|
|
</view> |
|
|
<view class="form-item"> |
|
|
<!-- <view class="form-item"> |
|
|
<view class="form-label">生成数量</view> |
|
|
<view class="form-label">生成数量</view> |
|
|
<uni-number-box v-model="formData.batchSize" :step="1" :min="1" :max="4" /> |
|
|
<uni-number-box v-model="formData.batchSize" :step="1" :min="1" :max="4" /> |
|
|
</view> |
|
|
</view> --> |
|
|
<view class="form-item"> |
|
|
<view class="form-item"> |
|
|
<view class="form-label display-flex-sb"> |
|
|
<view class="form-label display-flex-sb"> |
|
|
<view class="left-title">关键词相关性</view> |
|
|
<view class="left-title">关键词相关性</view> |
|
|
@ -528,7 +528,7 @@ |
|
|
|
|
|
|
|
|
//获取提示词列表 |
|
|
//获取提示词列表 |
|
|
async getPrompt() { |
|
|
async getPrompt() { |
|
|
const res = await getPrompt(); |
|
|
const res = await getPrompt("0"); |
|
|
if (res.data.code === 200) { |
|
|
if (res.data.code === 200) { |
|
|
this.promptList = res.data.data |
|
|
this.promptList = res.data.data |
|
|
//console.log('this.promptList',this.promptList) |
|
|
//console.log('this.promptList',this.promptList) |
|
|
|