jsy-app/store/modules/system/land.js

20 lines
325 B
JavaScript
Raw Normal View History

2024-11-20 18:20:46 +08:00
import {
getLandList
} from "@/api/system/land"
const land = {
actions: {
// 获取地块列表
getLandList({}, data) {
return new Promise((resolve, reject) => {
getLandList(data)
.then(res => {
resolve(res)
})
.catch(error => {
reject(error)
})
})
}
}
}
export default land