@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
|
@@ -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"
|
|
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
|
-
|
|
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
|
-
|
|
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) {
|