Browse Source

删除log

main
betaqi 4 weeks ago
parent
commit
7415c51f9c
  1. 4
      src/views/engineering/components/category-point-drawer.vue

4
src/views/engineering/components/category-point-drawer.vue

@ -74,7 +74,6 @@ const computedColDefs = computed(() => { @@ -74,7 +74,6 @@ const computedColDefs = computed(() => {
sortable: true,
}
// Hex sorting for Point Address and Function Code
if (header === '点位地址' || header === '功能码') {
def.comparator = (valueA: string, valueB: string) => {
const numA = parseInt(valueA, 16) || 0
@ -83,7 +82,6 @@ const computedColDefs = computed(() => { @@ -83,7 +82,6 @@ const computedColDefs = computed(() => {
}
}
// Numeric sorting for Count and Period
if (header === '点数量' || header === '点读取周期ms') {
def.comparator = (valueA: string, valueB: string) => {
const numA = parseFloat(valueA) || 0
@ -95,8 +93,6 @@ const computedColDefs = computed(() => { @@ -95,8 +93,6 @@ const computedColDefs = computed(() => {
return def
})
console.log(colDefs)
return colDefs
})

Loading…
Cancel
Save