uniapp ios 执行commit 页面就报Page[2][-1,0]错误 Page后面有时候是3有时候是2
API_user.findUserById(params).then(async resp => {
if(resp.code == 0) {
const dataArr = this.arrayToString([resp.data])
this.memberInfo = dataArr[0]
this.memberInfo.id = Number(this.memberInfo.uid)
this.memberInfo.remove = 0
const userssql = insertSql(dataArr, Keys.Friends)
await InitializeTable.getTable(userssql)
let seleSql = selectSqlAll(Keys.Friends)
const columns = await InitializeTable.getTable(seleSql)
store.commit('user/SET_FRIENDLIST', columns)
}
})
store.commit('user/SET_FRIENDLIST', columns) 这个注释就不报了,不影响功能但是总红一下想知道原因
即时通讯开发 (作者)
sqlite
2024-07-22 16:44