diff --git a/src/renderer/src/components/template-study/container/adjust-dialog.vue b/src/renderer/src/components/template-study/container/adjust-dialog.vue index 0ed1521..77e2e6c 100644 --- a/src/renderer/src/components/template-study/container/adjust-dialog.vue +++ b/src/renderer/src/components/template-study/container/adjust-dialog.vue @@ -30,7 +30,7 @@
- +
diff --git a/src/renderer/src/components/template-study/container/dialog.vue b/src/renderer/src/components/template-study/container/dialog.vue index e1cd782..801158f 100644 --- a/src/renderer/src/components/template-study/container/dialog.vue +++ b/src/renderer/src/components/template-study/container/dialog.vue @@ -1,5 +1,5 @@ diff --git a/src/renderer/src/components/template-study/container/result.vue b/src/renderer/src/components/template-study/container/result.vue index 160ae6a..d853dd3 100644 --- a/src/renderer/src/components/template-study/container/result.vue +++ b/src/renderer/src/components/template-study/container/result.vue @@ -33,7 +33,7 @@
- + @@ -55,18 +55,12 @@ import { conversation, completion, modelList } from '@/api/mode/index' const userStore = useUserStore() const props = defineProps({ - curTemp: { - type: Array, - default: () => { - return [] - } - }, tempId: { type: [String, Number], default: '' }, - model: { - type: [String, Number], + modeType: { + type: Number, default: 1 } }) @@ -76,9 +70,8 @@ const tempLoading = ref(false) const childTempList = ref([]) const getChildTemplate = () => { tempLoading.value = true - modelList({ model: props.model, type: 2, parentId: props.tempId }).then(res => { + modelList({ model: props.modeType, type: 2, parentId: props.tempId }).then(res => { childTempList.value = res.rows - console.log('res.rows=====>', res.rows) }).finally(() => { tempLoading.value = false diff --git a/src/renderer/src/components/template-study/index.vue b/src/renderer/src/components/template-study/index.vue index 37d443e..2963151 100644 --- a/src/renderer/src/components/template-study/index.vue +++ b/src/renderer/src/components/template-study/index.vue @@ -1,7 +1,7 @@