【fix ESLint】src/components、src/utils

This commit is contained in:
zhaoxiao
2023-03-06 14:04:51 +08:00
parent 8c5844500b
commit d564f67722
13 changed files with 106 additions and 121 deletions
@@ -819,7 +819,8 @@ export default {
/** 获取表格表单里的值 */
getValues (callback, rowIds) {
const tableData = this.getTableData({ rowIds: rowIds })
callback('', tableData)
const msg = ''
callback(msg, tableData)
},
/** 获取表格数据 */
getTableData (options = {}) {
@@ -34416,7 +34416,7 @@
function r(e) {
return e || (e = "朝阳区"), "北京市 ".concat(e)
}
n.r(t), n.d(t, "demoFieldDefVal_getAddress", (function() {
n.r(t), n.d(t, "demoFieldDefValGetAddress", (function() {
return r
}))
},
@@ -137,7 +137,7 @@ export default {
const form = this.form
if (value && value !== form.getFieldValue('password')) {
// eslint-disable-next-line standard/no-callback-literal
callback('两次输入的密码不一样')
callback(new Error('两次输入的密码不一样'))
} else {
callback()
}