clickgo 3.15.30 → 3.15.31

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.30'}"></script>
28
+ <script src="https://cdn.jsdelivr.net/npm/@litert/loader@3.5.7/dist/loader.min.js?path=index&npm={'clickgo':'3.15.31'}"></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.30';
32
+ const version = '3.15.31';
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.30';
16
+ const version = '3.15.31';
17
17
  export function getVersion(): string {
18
18
  return version;
19
19
  }
package/dist/lib/form.js CHANGED
@@ -2941,6 +2941,9 @@ function prompt(opt) {
2941
2941
  }
2942
2942
  };
2943
2943
  (_a = opt.select) === null || _a === void 0 ? void 0 : _a.call(this, event, button);
2944
+ if (!event.go) {
2945
+ e.preventDefault();
2946
+ }
2944
2947
  if (e.detail.button === cancelBtn) {
2945
2948
  this.dialogResult = '';
2946
2949
  return;
package/dist/lib/form.ts CHANGED
@@ -3709,6 +3709,9 @@ export async function prompt(opt: string | types.IFormPromptOptions): Promise<st
3709
3709
  }
3710
3710
  };
3711
3711
  opt.select?.call(this, event, button);
3712
+ if (!event.go) {
3713
+ e.preventDefault();
3714
+ }
3712
3715
  if (e.detail.button === cancelBtn) {
3713
3716
  this.dialogResult = '';
3714
3717
  return;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "clickgo",
3
- "version": "3.15.30",
3
+ "version": "3.15.31",
4
4
  "description": "Background interface, software interface, mobile phone APP interface operation library.",
5
5
  "keywords": [
6
6
  "deskrt",