Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions miniprogram/packageAPI/pages/ar/2dmarker-ar/2dmarker-ar.js
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ Component({
const session = this.session = wx.createVKSession({
track: {
plane: {
mode: 3
mode: 1
},
marker: true,
},
Expand All @@ -84,7 +84,7 @@ Component({

// VKSession EVENT addAnchors
session.on('addAnchors', anchors => {
// console.log("addAnchor", anchors);
console.log("addAnchor", anchors);

this.left.visible = true
this.right.visible = true
Expand Down
2 changes: 1 addition & 1 deletion miniprogram/packageAPI/pages/ar/3dmarker-ar/3dmarker-ar.js
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ Component({
const session = this.session = wx.createVKSession({
track: {
plane: {
mode: 3
mode: 1
},
marker: true,
},
Expand Down
2 changes: 1 addition & 1 deletion miniprogram/packageAPI/pages/ar/body-detect/behavior.js
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ export default function getBehavior() {
const session = this.session = wx.createVKSession({
track: {
plane: {
mode: 3
mode: 1
},
body: {
mode: 1
Expand Down
2 changes: 1 addition & 1 deletion miniprogram/packageAPI/pages/ar/hand-detect/behavior.js
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ export default function getBehavior() {
const session = this.session = wx.createVKSession({
track: {
plane: {
mode: 3
mode: 1
},
hand: {
mode: 1
Expand Down
2 changes: 1 addition & 1 deletion miniprogram/packageAPI/pages/ar/osd-ar/behavior.js
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ export default function getBehavior() {
const session = this.session = wx.createVKSession({
track: {
plane: {
mode: 3
mode: 1
},
OSD: true,
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ export default function getBehavior() {
const session = this.session = wx.createVKSession({
track: {
plane: {
mode: 3
mode: 1
},
body: {
mode: 2
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ export default function getBehavior() {
const session = this.session = wx.createVKSession({
track: {
plane: {
mode: 3
mode: 1
},
hand: {
mode: 2
Expand Down
2 changes: 1 addition & 1 deletion miniprogram/packageAPI/pages/ar/plane-ar-3dof/behavior.js
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ export default function getBehavior() {
const session = this.session = wx.createVKSession({
track: {
plane: {
mode: 3
mode: 1
},
threeDof: true,
},
Expand Down
2 changes: 1 addition & 1 deletion miniprogram/packageAPI/pages/ar/plane-ar/behavior.js
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ export default function getBehavior() {
const session = this.session = wx.createVKSession({
track: {
plane: {
mode: 3
mode: 1
},
},
version: 'v1',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ export default function getBehavior() {
const session = this.session = wx.createVKSession({
track: {
plane: {
mode: 3
mode: 1
},
},
version: 'v1',
Expand Down
1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
"name": "miniprogram-demo",
"version": "1.0.0",
"description": "WeChat miniprogram demo",
"type": "module",
"scripts": {
"init": "npm run sync && cd cloudfunctions/ && npm i --production && cd ../miniprogram/ && npm i --production",
"lint": "eslint .",
Expand Down