功能变化: npm run lint

pull/92/head
李强 2023-04-05 01:11:02 +08:00
parent a4fa5bb2eb
commit 15cc1a2191
6 changed files with 14 additions and 14 deletions

View File

@ -396,6 +396,7 @@ export default {
const tableLength = tableData.length
if (tableLength === 0) {
const { row } = $table.insert()
console.log(row)
} else {
const errMap = await $table.validate().catch(errMap => errMap)
if (errMap) {

View File

@ -8,7 +8,7 @@ export const crudOptions = (vm) => {
// rowKey: true, // 必须设置true or false
rowId: 'id',
height: '100%', // 表格高度100%, 使用toolbar必须设置
highlightCurrentRow: false,
highlightCurrentRow: false
},
rowHandle: {
fixed: 'right',

View File

@ -1,5 +1,4 @@
import { request } from '@/api/service'
import util from '@/libs/util'
export const crudOptions = (vm) => {
// util.filterParams(vm, ['dept_name', 'role_info{name}', 'dept_name_all'])