@tuya-miniapp/smart-ui 2.7.0-beta-2 → 2.7.0-beta-3

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.
@@ -152,7 +152,7 @@ SmartComponent({
152
152
  }
153
153
  },
154
154
  onClickBtnText(event) {
155
- this.$emit('btnClick', event);
155
+ this.$emit('btn-click', event);
156
156
  },
157
157
  onClick(event) {
158
158
  const { url, mode, openType } = this.data;
@@ -160,7 +160,7 @@ var Right_1 = __importDefault(require("@tuya-miniapp/icons/dist/svg/Right"));
160
160
  }
161
161
  },
162
162
  onClickBtnText: function (event) {
163
- this.$emit('btnClick', event);
163
+ this.$emit('btn-click', event);
164
164
  },
165
165
  onClick: function (event) {
166
166
  var _a = this.data, url = _a.url, mode = _a.mode, openType = _a.openType;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tuya-miniapp/smart-ui",
3
- "version": "2.7.0-beta-2",
3
+ "version": "2.7.0-beta-3",
4
4
  "author": "MiniApp Team",
5
5
  "license": "MIT",
6
6
  "miniprogram": "lib",