MCPcopy Create free account
hub / github.com/CoderOpen/waimai / reset

Method reset

front/components/mpvueGestureLock/gestureLock.js:143–151  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

141
142 // 使 画布 恢复初始状态
143 reset() {
144 this.circleArray.forEach((item) => {
145 item.check = false;
146 });
147 this.checkPoints = [];
148 this.lineArray = [];
149 this.activeLine = {};
150 this.lastCheckPoint = 0;
151 }
152
153
154 // 获取 最后一个激活的锁与当前位置之间的线段

Callers 2

onTouchEndMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected