解决飞行器设备报错
This commit is contained in:
parent
b5b1d4ce5b
commit
5ab577c0a9
@ -216,9 +216,9 @@
|
||||
<template slot-scope="scope">
|
||||
{{
|
||||
scope.row.useType === 0
|
||||
? "载物行动"
|
||||
? "载物飞行"
|
||||
: scope.row.useType === 1
|
||||
? "载人行动"
|
||||
? "载人飞行"
|
||||
: "其他"
|
||||
}}
|
||||
</template>
|
||||
@ -320,7 +320,7 @@ export default {
|
||||
name: undefined,
|
||||
},
|
||||
initData: (crud, data) => {
|
||||
crud.page.total = data.total;
|
||||
crud.page.total = Number(data.total);
|
||||
// 确保每条记录的id是字符串类型
|
||||
const records = data.records || [];
|
||||
crud.data = records.map(item => ({
|
||||
|
Loading…
Reference in New Issue
Block a user