fix:修改时间
This commit is contained in:
parent
cfb6fb5b7a
commit
370c5fd633
@ -2,7 +2,7 @@
|
|||||||
* @Author: SunTao 328867980@qq.com
|
* @Author: SunTao 328867980@qq.com
|
||||||
* @Date: 2025-03-25 11:10:16
|
* @Date: 2025-03-25 11:10:16
|
||||||
* @LastEditors: SunTao 328867980@qq.com
|
* @LastEditors: SunTao 328867980@qq.com
|
||||||
* @LastEditTime: 2025-04-14 15:37:18
|
* @LastEditTime: 2025-04-15 17:13:01
|
||||||
* @FilePath: \znxjxt-ui\src\views\xj\inspection\map-diease\index.vue
|
* @FilePath: \znxjxt-ui\src\views\xj\inspection\map-diease\index.vue
|
||||||
* @Description: 地图展示筛选病害-首页
|
* @Description: 地图展示筛选病害-首页
|
||||||
-->
|
-->
|
||||||
@ -62,6 +62,9 @@
|
|||||||
align="center"
|
align="center"
|
||||||
prop="createdTimeLocal"
|
prop="createdTimeLocal"
|
||||||
>
|
>
|
||||||
|
<template slot-scope="scope">
|
||||||
|
{{ scope.row.createdTimeLocal.replace("T", " ") }}
|
||||||
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
label="操作"
|
label="操作"
|
||||||
@ -308,7 +311,7 @@ export default {
|
|||||||
// 使用 fit 方法根据边界框计算最佳缩放级别
|
// 使用 fit 方法根据边界框计算最佳缩放级别
|
||||||
map.getView().fit(extent, {
|
map.getView().fit(extent, {
|
||||||
duration: 500, // 动画持续时间
|
duration: 500, // 动画持续时间
|
||||||
padding: [100, 100, 100, 100], // 边缘填充
|
padding: [200, 200, 200, 200], // 边缘填充
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user