mirror of
https://github.com/geekgeekrun/geekgeekrun.git
synced 2026-09-08 17:09:07 +08:00
move combineCalculator from ui package to geek-auto-start-chat-with-boss package
This commit is contained in:
+1
-2
@@ -10,8 +10,7 @@ export function* combineFiltersWithConstraintsGenerator(selectedFilters) {
|
|||||||
|
|
||||||
// 使用迭代生成组合
|
// 使用迭代生成组合
|
||||||
function combine(arr, min, max) {
|
function combine(arr, min, max) {
|
||||||
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
const result = []
|
||||||
const result: any[] = []
|
|
||||||
const n = arr.length
|
const n = arr.length
|
||||||
|
|
||||||
// 生成长度在[min, max]范围内的所有组合
|
// 生成长度在[min, max]范围内的所有组合
|
||||||
@@ -58,7 +58,7 @@ import { computed, ref } from 'vue'
|
|||||||
import { ElForm, ElMessage } from 'element-plus'
|
import { ElForm, ElMessage } from 'element-plus'
|
||||||
import { useRouter } from 'vue-router'
|
import { useRouter } from 'vue-router'
|
||||||
import AnyCombineBossRecommendFilter from '@renderer/features/AnyCombineBossRecommendFilter/index.vue'
|
import AnyCombineBossRecommendFilter from '@renderer/features/AnyCombineBossRecommendFilter/index.vue'
|
||||||
import { calculateTotalCombinations } from '@renderer/features/AnyCombineBossRecommendFilter/combineCalculator'
|
import { calculateTotalCombinations } from '@geekgeekrun/geek-auto-start-chat-with-boss/combineCalculator.mjs'
|
||||||
const router = useRouter()
|
const router = useRouter()
|
||||||
|
|
||||||
const formContent = ref({
|
const formContent = ref({
|
||||||
|
|||||||
Reference in New Issue
Block a user