From c0e3f24edd2ef47339c676ff3dc6fdc06b3c387e Mon Sep 17 00:00:00 2001
From: xyc <jc_xiong@hotmail.com>
Date: 星期五, 18 十月 2024 10:42:40 +0800
Subject: [PATCH] 1)修改bug:可靠性预计参数配置,可靠性分布类型下拉框缺少威布尔分布; 2)细化可靠性仿真评估报错信息。
---
web/public/SVGOrigin/Method-Draw-master/editor/extensions/fileopen.php | 10 +++++-----
1 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/web/public/SVGOrigin/Method-Draw-master/editor/extensions/fileopen.php b/web/public/SVGOrigin/Method-Draw-master/editor/extensions/fileopen.php
index 8aad827..7b44a5c 100644
--- a/web/public/SVGOrigin/Method-Draw-master/editor/extensions/fileopen.php
+++ b/web/public/SVGOrigin/Method-Draw-master/editor/extensions/fileopen.php
@@ -11,15 +11,15 @@
*/
// Very minimal PHP file, all we do is Base64 encode the uploaded file and
// return it to the editor
-
+
$file = $_FILES['svg_file']['tmp_name'];
-
+
$output = file_get_contents($file);
-
+
$type = $_REQUEST['type'];
-
+
$prefix = '';
-
+
// Make Data URL prefix for import image
if($type == 'import_img') {
$info = getimagesize($file);
--
Gitblit v1.9.1