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

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.
@@ -119,7 +119,7 @@ SmartComponent({
119
119
  },
120
120
  safeAreaInsetBottom: {
121
121
  type: Boolean,
122
- value: true,
122
+ value: false,
123
123
  },
124
124
  closeOnClickOverlay: {
125
125
  type: Boolean,
@@ -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;
@@ -130,7 +130,7 @@ var getTime = function (date) { return (date instanceof Date ? date.getTime() :
130
130
  },
131
131
  safeAreaInsetBottom: {
132
132
  type: Boolean,
133
- value: true,
133
+ value: false,
134
134
  },
135
135
  closeOnClickOverlay: {
136
136
  type: Boolean,
@@ -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-4",
4
4
  "author": "MiniApp Team",
5
5
  "license": "MIT",
6
6
  "miniprogram": "lib",