def func_save(): ···与add_func相似 else: save(result1, letters, result, result2) subwindow.destroy() # 关闭子页面 gl_data.Xian_index = gl_data.INDEX f_button() tk.Button(root_window, text="新增拟合曲线类型", bd=4, command=show_subwindow).place( x=int(740*screen_size), y=int(12)*screen_size)