File tree Expand file tree Collapse file tree 5 files changed +1
-14
lines changed Expand file tree Collapse file tree 5 files changed +1
-14
lines changed Original file line number Diff line number Diff line change 174174 content,
175175 ) || []
176176 "
177- :services =" services?.value || null"
178177 :input-mode ="
179178 responsiveLayout.recommendedInputMode.value
180179 "
339338 variableManager?.allVariables?.value || {}
340339 "
341340 :predefined-variables =" predefinedVariables"
342- :services =" services?.value || null"
343341 @variable-change =" handleTestPanelVariableChange"
344342 @save-to-global =" handleSaveToGlobal"
345343 :input-mode ="
Original file line number Diff line number Diff line change @@ -219,7 +219,6 @@ import TestAreaPanel from "../TestAreaPanel.vue";
219219import ConversationManager from " ./ConversationManager.vue" ;
220220import type { OptimizationMode , ConversationMessage } from " ../../types" ;
221221import type {
222- IServices ,
223222 PromptRecord ,
224223 Template ,
225224} from " @prompt-optimizer/core" ;
@@ -265,9 +264,6 @@ interface Props {
265264 availableVariables: Record <string , string >;
266265 scanVariables: (content : string ) => string [];
267266
268- // 服务
269- services: IServices | null ;
270-
271267 // 响应式布局配置
272268 inputMode? : " compact" | " normal" ;
273269 controlBarLayout? : " default" | " compact" | " minimal" ;
Original file line number Diff line number Diff line change @@ -250,7 +250,6 @@ import PromptPanelUI from "../PromptPanel.vue";
250250import TestAreaPanel from " ../TestAreaPanel.vue" ;
251251import type { OptimizationMode } from " ../../types" ;
252252import type {
253- IServices ,
254253 PromptRecord ,
255254 Template ,
256255} from " @prompt-optimizer/core" ;
@@ -309,10 +308,6 @@ interface Props {
309308 /** 预定义变量 (系统内置) */
310309 predefinedVariables: Record <string , string >;
311310
312- // --- 服务 ---
313- /** 核心服务实例 */
314- services: IServices | null ;
315-
316311 // --- 响应式布局配置 ---
317312 /** 输入模式 */
318313 inputMode? : " compact" | " normal" ;
Original file line number Diff line number Diff line change 286286 content-style =" height: 100%; max-height: 100%; overflow: hidden;"
287287 >
288288 <PromptPanelUI
289- v-if =" services?.value? .templateManager"
289+ v-if =" services && services .templateManager"
290290 ref =" promptPanelRef"
291291 v-model:optimized-prompt =" optimizedPrompt"
292292 :reasoning =" optimizedReasoning"
Original file line number Diff line number Diff line change 174174 content,
175175 ) || []
176176 "
177- :services =" services?.value || null"
178177 :input-mode ="
179178 responsiveLayout.recommendedInputMode.value
180179 "
339338 variableManager?.customVariables?.value || {}
340339 "
341340 :predefined-variables =" predefinedVariables"
342- :services =" services?.value || null"
343341 @variable-change =" handleTestPanelVariableChange"
344342 @save-to-global =" handleSaveToGlobal"
345343 :input-mode ="
You can’t perform that action at this time.
0 commit comments