tijiao
This commit is contained in:
@@ -168,10 +168,12 @@
|
||||
|
||||
const addApartment = () => {
|
||||
disabled.value = false;
|
||||
opMap.type = 'add';
|
||||
};
|
||||
|
||||
const addApartmentSon = () => {
|
||||
disabled.value = false;
|
||||
opMap.type = 'addson';
|
||||
};
|
||||
|
||||
const addUser = () => {
|
||||
@@ -240,11 +242,16 @@
|
||||
const ApartmentSure = () => {
|
||||
disabled.value = !disabled.value;
|
||||
opMap.fuc && opMap.fuc(formData.value);
|
||||
console.log(formData.value.name, 'formData');
|
||||
apartmentTreeData.value[0].children.push({
|
||||
title: formData.value.name,
|
||||
key: 'a1',
|
||||
});
|
||||
// console.log(formData.value.name, 'formData');
|
||||
console.log(opMap.type, 'opMap.type');
|
||||
if (opMap.type === 'add') {
|
||||
apartmentTreeData.value[0].children.push({
|
||||
title: formData.value.name,
|
||||
key: 'a1',
|
||||
});
|
||||
} else {
|
||||
console.log('ss');
|
||||
}
|
||||
};
|
||||
const UserSure = () => {
|
||||
disabled2.value = !disabled2.value;
|
||||
|
Reference in New Issue
Block a user