feat: frontend & main controller
This commit is contained in:
@@ -77,9 +77,9 @@
|
||||
update(data) {
|
||||
let state = data.state;
|
||||
if (state == "identified") this.type = data.type;
|
||||
|
||||
this.state = state;
|
||||
if (state == "identify") this.imageUrl = `/photo?${Date.now()}`
|
||||
|
||||
this.state = state;
|
||||
},
|
||||
async polling() {
|
||||
let res, data;
|
||||
|
||||
Reference in New Issue
Block a user