@dolphinweex/weex-harmony 0.1.99 → 0.1.101

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dolphinweex/weex-harmony",
3
- "version": "0.1.99",
3
+ "version": "0.1.101",
4
4
  "description": "weex harmony adapter",
5
5
  "main": "index.js",
6
6
  "files": [
@@ -88,7 +88,7 @@
88
88
  <div v-if="showDeleteConfirm" class="modal-mask">
89
89
  <div class="modal">
90
90
  <div class="modal-title">温馨提示</div>
91
- <div class="modal-content">删除所选关注视角后,相关的智能场景将执行失败</div>
91
+ <div class="modal-content">删除所选常看视角后,相关的智能场景将执行失败</div>
92
92
  <div class="modal-actions">
93
93
  <text class="btn cancel" @click="onDeleteCancel">取消</text>
94
94
  <div class="btn-divider"></div>
@@ -309,18 +309,13 @@
309
309
  }, this.longPressDuration);
310
310
  },
311
311
 
312
- // 统一长按回调:未编辑 -> 进入抖动;已编辑 -> 进入拖拽
312
+ // 长按回调:进入抖动编辑并立即开始拖拽(一次长按即可拖动)
313
313
  activateDragMode(index) {
314
- if (this.isEditing) {
315
- // 已在编辑态:直接进入拖拽
316
- const touch = this.lastTouch;
317
- if (!touch) return;
318
- this.activateDrag(index, touch);
319
- return;
320
- }
321
- // 未编辑态:进入抖动编辑(不开始拖拽)
314
+ const touch = this.lastTouch;
315
+ if (!touch) return;
322
316
  this.isEditing = true;
323
- // 如需通知外部可在此 emit 事件
317
+ console.log('[cdj-drag] activateDragMode isEditing=true, start drag', { index });
318
+ this.activateDrag(index, touch);
324
319
  },
325
320
 
326
321
  activateDrag(index, touch) {