mirror of
https://github.com/yangjian102621/geekai.git
synced 2025-11-12 04:03:42 +08:00
feat: add draw same image for midjourney page
This commit is contained in:
@@ -555,6 +555,7 @@ const options = [
|
||||
},
|
||||
]
|
||||
|
||||
const router = useRouter()
|
||||
const params = ref({
|
||||
task_type: "image",
|
||||
rate: rates[0].value,
|
||||
@@ -565,7 +566,7 @@ const params = ref({
|
||||
img_arr: [],
|
||||
raw: false,
|
||||
weight: 0.25,
|
||||
prompt: "",
|
||||
prompt: router.currentRoute.value.params["prompt"] ?? "",
|
||||
neg_prompt: "",
|
||||
tile: false,
|
||||
quality: 0
|
||||
@@ -577,7 +578,6 @@ const activeName = ref('image')
|
||||
|
||||
const runningJobs = ref([])
|
||||
const finishedJobs = ref([])
|
||||
const router = useRouter()
|
||||
|
||||
const socket = ref(null)
|
||||
const imgCalls = ref(0)
|
||||
|
||||
Reference in New Issue
Block a user