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