提交 a892224b 编写于 作者: Q qiang

chore: lint

上级 d6f6befa
......@@ -410,7 +410,7 @@ export default {
complete && complete()
})
},
getTemp(isTemp = true) {
getTemp (isTemp = true) {
/* eslint-disable no-undef */
let db = uniCloud.database()
......@@ -471,7 +471,7 @@ export default {
return db
},
setResult(result) {
setResult (result) {
if (result.code === 0) {
this._execLoadDataSuccess(result)
} else {
......@@ -505,7 +505,7 @@ export default {
this._execLoadDataFail(err, callback)
})
},
_execLoadDataSuccess(result, callback, clear) {
_execLoadDataSuccess (result, callback, clear) {
const {
data,
count
......@@ -532,7 +532,7 @@ export default {
}
}
},
_execLoadDataFail(err, callback) {
_execLoadDataFail (err, callback) {
this.errorMessage = err
callback && callback()
this.$emit(events.error, err)
......
......@@ -49,7 +49,7 @@ const tags = {
'video',
'view',
'web-view',
'editor',
'editor'
],
// 支付宝小程序平台独有组件
'mp-alipay': [
......
/**
* 用于延迟调用 setData
* 在 setData 真实调用的时机需执行 fixSetDataEnd
* @param {*} mpInstance
* @param {*} mpInstance
*/
export function fixSetDataStart (mpInstance) {
const setData = mpInstance.setData
......@@ -27,7 +27,7 @@ export function fixSetDataStart (mpInstance) {
}
/**
* 恢复真实的 setData 方法
* @param {*} mpInstance
* @param {*} mpInstance
*/
export function fixSetDataEnd (mpInstance) {
if (mpInstance.__fixInitData) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册