diff --git a/disconf-web/html/assets/js/newconfigfile.js b/disconf-web/html/assets/js/newconfigfile.js
index f6ceb0b19..ef2103c48 100644
--- a/disconf-web/html/assets/js/newconfigfile.js
+++ b/disconf-web/html/assets/js/newconfigfile.js
@@ -211,6 +211,10 @@ $("#uploadChoice").on(
'click',
function (e) {
+ if (version == '自定义版本') {
+ version = $('#selfversion_value').val();
+ }
+
$("#error").addClass("hide");
var fileName = $("#fileName").val();