cleaned some code Promise...
This commit is contained in:
@@ -1,4 +1,4 @@
|
|||||||
APP_VERSION="DEV 0.0.27"
|
APP_VERSION="DEV 0.0.30"
|
||||||
SERVICE_WORKER_FILE='service-worker.js'
|
SERVICE_WORKER_FILE='service-worker.js'
|
||||||
APP_ID='1'
|
APP_ID='1'
|
||||||
APP_URL='https://freeplanet.app'
|
APP_URL='https://freeplanet.app'
|
||||||
|
|||||||
@@ -35,7 +35,7 @@
|
|||||||
:after="[{icon: 'arrow_forward', content: true, handler () {}}]"
|
:after="[{icon: 'arrow_forward', content: true, handler () {}}]"
|
||||||
v-on:keyup.enter="insertTodo"/>
|
v-on:keyup.enter="insertTodo"/>
|
||||||
|
|
||||||
<!--{{ tmpstrTodos }}-->
|
{{ tmpstrTodos }}
|
||||||
|
|
||||||
<div class="flex-item btn-item">
|
<div class="flex-item btn-item">
|
||||||
<q-btn class="mybtn" round color="" icon="lock" @click="getArrTodos">Get Todo</q-btn>
|
<q-btn class="mybtn" round color="" icon="lock" @click="getArrTodos">Get Todo</q-btn>
|
||||||
|
|||||||
@@ -201,7 +201,7 @@ namespace Actions {
|
|||||||
// console.log('******* UPDATE TODOS.STATE.TODOS !:', res.todos)
|
// console.log('******* UPDATE TODOS.STATE.TODOS !:', res.todos)
|
||||||
if (body.todos) {
|
if (body.todos) {
|
||||||
state.todos = [...body.todos]
|
state.todos = [...body.todos]
|
||||||
// Todos.mutations.setTodos_changed()
|
Todos.mutations.setTodos_changed()
|
||||||
}
|
}
|
||||||
|
|
||||||
console.log('********** res', 'state.todos', state.todos, 'checkPending', checkPending)
|
console.log('********** res', 'state.todos', state.todos, 'checkPending', checkPending)
|
||||||
|
|||||||
Reference in New Issue
Block a user