From 88ee288046ec7f03f752225ce2b8c88d3bf1ee84 Mon Sep 17 00:00:00 2001
From: 游雁 <zhifu.gzf@alibaba-inc.com>
Date: 星期三, 17 五月 2023 00:14:38 +0800
Subject: [PATCH] html5 server client docs
---
funasr/runtime/html5/static/main.js | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/funasr/runtime/html5/static/main.js b/funasr/runtime/html5/static/main.js
index 7066582..5f6bb10 100644
--- a/funasr/runtime/html5/static/main.js
+++ b/funasr/runtime/html5/static/main.js
@@ -59,6 +59,7 @@
} else if ( connState === 2 ) {
stop();
console.log( 'connecttion error' );
+ setTimeout(function(){btnStart.disabled = true;info_div.innerHTML='connecttion error';}, 4000 );
}
}
--
Gitblit v1.9.1