clickgo 3.15.22 → 3.15.24

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -25,7 +25,7 @@ Load the module loader first, and then load it using the module loader.
25
25
  **index.html**
26
26
 
27
27
  ```html
28
- <script src="https://cdn.jsdelivr.net/npm/@litert/loader@3.5.7/dist/loader.min.js?path=index&npm={'clickgo':'3.15.22'}"></script>
28
+ <script src="https://cdn.jsdelivr.net/npm/@litert/loader@3.5.7/dist/loader.min.js?path=index&npm={'clickgo':'3.15.24'}"></script>
29
29
  ```
30
30
 
31
31
  **index.js**
package/dist/clickgo.js CHANGED
@@ -29,7 +29,7 @@ exports.isNative = isNative;
29
29
  exports.getPlatform = getPlatform;
30
30
  exports.isImmersion = isImmersion;
31
31
  exports.hasFrame = hasFrame;
32
- const version = '3.15.22';
32
+ const version = '3.15.24';
33
33
  function getVersion() {
34
34
  return version;
35
35
  }
package/dist/clickgo.ts CHANGED
@@ -13,7 +13,7 @@
13
13
  * See the License for the specific language governing permissions and
14
14
  * limitations under the License.
15
15
  */
16
- const version = '3.15.22';
16
+ const version = '3.15.24';
17
17
  export function getVersion(): string {
18
18
  return version;
19
19
  }
Binary file
package/dist/lib/form.js CHANGED
@@ -1553,7 +1553,7 @@ function notify(opt) {
1553
1553
  let timeout = 5000;
1554
1554
  if (opt.timeout !== undefined) {
1555
1555
  if (opt.timeout <= 0 || opt.timeout > 30000) {
1556
- timeout = 30000;
1556
+ timeout = 60000 * 5;
1557
1557
  }
1558
1558
  else {
1559
1559
  timeout = opt.timeout;
package/dist/lib/form.ts CHANGED
@@ -2033,16 +2033,16 @@ let notifyBottom: number = -10;
2033
2033
  let notifyId: number = 0;
2034
2034
  /**
2035
2035
  * --- 弹出右上角信息框 ---
2036
- * @param opt timeout 默认 5 秒,最大 30
2036
+ * @param opt timeout 默认 5 秒,最大 5 分钟
2037
2037
  */
2038
2038
  export function notify(opt: types.INotifyOptions): number {
2039
2039
  // --- 申请 nid ---
2040
2040
  const nid = ++notifyId;
2041
2041
  // --- 设置 timeout ---
2042
- let timeout = 5000;
2042
+ let timeout = 5_000;
2043
2043
  if (opt.timeout !== undefined) {
2044
2044
  if (opt.timeout <= 0 || opt.timeout > 30000) {
2045
- timeout = 30000;
2045
+ timeout = 60_000 * 5;
2046
2046
  }
2047
2047
  else {
2048
2048
  timeout = opt.timeout;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "clickgo",
3
- "version": "3.15.22",
3
+ "version": "3.15.24",
4
4
  "description": "Background interface, software interface, mobile phone APP interface operation library.",
5
5
  "keywords": [
6
6
  "deskrt",