10 lines
764 KiB
XML
10 lines
764 KiB
XML
|
<?xml version="1.0" encoding="UTF-8"?>
|
|||
|
<project version="4">
|
|||
|
<component name="AugmentWebviewStateStore">
|
|||
|
<option name="stateMap">
|
|||
|
<map>
|
|||
|
<entry key="CHAT_STATE" value="{"currentConversationId":"70503f40-3458-424f-9acf-57157794a072","conversations":{"360b0ea2-a786-4f97-af46-c9fa9872d36f":{"id":"360b0ea2-a786-4f97-af46-c9fa9872d36f","createdAtIso":"2025-07-30T10:58:27.171Z","lastInteractedAtIso":"2025-07-30T10:58:27.171Z","chatHistory":[],"feedbackStates":{},"toolUseStates":{},"draftExchange":{"request_message":"","rich_text_json_repr":{"type":"doc","content":[{"type":"paragraph"}]},"mentioned_items":[],"status":"draft"},"requestIds":[],"isPinned":false,"isShareable":false,"extraData":{"hasDirtyEdits":false},"personaType":0,"rootTaskUuid":"6dd8f920-425e-4605-ab68-0c676b040aa3"},"68d64982-55d0-4439-8520-d23aedf8ac6b":{"id":"68d64982-55d0-4439-8520-d23aedf8ac6b","createdAtIso":"2025-07-30T10:58:27.366Z","lastInteractedAtIso":"2025-07-30T11:03:52.118Z","chatHistory":[{"status":"success","request_id":"dbcf5b10-abfe-4802-9d77-fcdef8d918d8","request_message":"this.$nextTick(() => {\n\nconst page = getCurrentPages().pop();\n const handleTouchStart = (event) => {\n if (event.touches.length > 1) {\n return;\n }\n this.startX = event.touches[0].pageX;\n };\n const handleTouchMove = (event) => {\n if (event.touches.length > 1 || !this.startX) {\n return;\n }\n const moveX = event.touches[0].pageX;\n if (moveX - this.startX > 50) { // 设置一个阈值,例如50px event.preventDefault(); // 阻止默认行为 }\n };\n page.$vm.$on('touchstart', handleTouchStart);\n page.$vm.$on('touchmove', handleTouchMove);\n});把页面的代码改错uniapp vue2的","rich_text_json_repr":{"type":"doc","content":[{"type":"paragraph","content":[{"type":"text","text":"this.$nextTick(() => {"}]},{"type":"paragraph","content":[{"type":"text","text":"const page = getCurrentPages().pop();"},{"type":"hardBreak"},{"type":"text","text":" const handleTouchStart = (event) => {"},{"type":"hardBreak"},{"type":"text","text":" if (event.touches.length > 1) {"},{"type":"hardBreak"},{"type":"text","text":" return;"},{"type":"hardBreak"},{"type":"text","text":" }"},{"type":"hardBreak"},{"type":"text","text":" this.startX = event.touches[0].pageX;"},{"type":"hardBreak"},{"type":"text","text":" };"},{"type":"hardBreak"},{"type":"text","text":" const handleTouchMove = (event) => {"},{"type":"hardBreak"},{"type":"text","text":" if (event.touches.length > 1 || !this.startX) {"},{"type":"hardBreak"},{"type":"text","text":" return;"},{"type":"hardBreak"},{"type":"text","text":" }"},{"type":"hardBreak"},{"type":"text","text":" const moveX = event.touches[0].pageX;"},{"type":"hardBreak"},{"type":"text","text":" if (moveX - this.startX > 50) { // 设置一个阈值,例如5
|
|||
|
</map>
|
|||
|
</option>
|
|||
|
</component>
|
|||
|
</project>
|