update release log

This commit is contained in:
engigu
2024-01-14 14:34:14 +08:00
parent 921158f764
commit c44c8e78d0
@@ -54,7 +54,6 @@ export default defineComponent({
const pageState = usePageState(); const pageState = usePageState();
const state = reactive({ const state = reactive({
isShow: false, isShow: false,
currCode: '',
currOption: '', currOption: '',
activeName: 'curl', activeName: 'curl',
apiViewData: CONSTANT.API_VIEW_DATA, apiViewData: CONSTANT.API_VIEW_DATA,
@@ -70,6 +69,7 @@ export default defineComponent({
const handleCancer = () => { const handleCancer = () => {
if (pageState.ShowDialogData[props.componentName]) { if (pageState.ShowDialogData[props.componentName]) {
pageState.ShowDialogData[props.componentName].isShow = false; pageState.ShowDialogData[props.componentName].isShow = false;
state.currOption = '';
} }
} }
@@ -93,9 +93,9 @@ export default defineComponent({
state.currOption = await getViewOptions(task_id); state.currOption = await getViewOptions(task_id);
} }
state.apiViewData.forEach(element => { state.apiViewData.forEach(element => {
if (!element.code) { // if (!element.code) {
element.code = element.func(task_id, state.currOption); element.code = element.func(task_id, state.currOption);
} // }
}); });
setTimeout(() => { setTimeout(() => {
Prism.highlightAll() Prism.highlightAll()