23 lines
361 B
JavaScript
23 lines
361 B
JavaScript
import { ref, reactive } from 'vue';
|
|
export default function useLandHook() {
|
|
const landType = ref('0');
|
|
const landsType = reactive([
|
|
{
|
|
value: '0',
|
|
label: '农用地',
|
|
},
|
|
{
|
|
value: '1',
|
|
label: '住宅用地',
|
|
},
|
|
{
|
|
value: '2',
|
|
label: '园林',
|
|
},
|
|
]);
|
|
return {
|
|
landType,
|
|
landsType,
|
|
};
|
|
}
|