refactor: refs #7527 remove console logs from openAddressForm function
gitea/salix-front/pipeline/pr-dev This commit is unstable
Details
gitea/salix-front/pipeline/pr-dev This commit is unstable
Details
This commit is contained in:
parent
3f399e5bd4
commit
37265740de
|
@ -105,13 +105,10 @@ const sortAddresses = async (data) => {
|
||||||
};
|
};
|
||||||
|
|
||||||
function openAddressForm() {
|
function openAddressForm() {
|
||||||
console.log('route.query: ', route.query);
|
|
||||||
if (route.query.addressId) {
|
if (route.query.addressId) {
|
||||||
console.log('addresses.value: ', addresses.value);
|
|
||||||
const address = addresses.value.find(
|
const address = addresses.value.find(
|
||||||
(address) => address.id == +route.query.addressId,
|
(address) => address.id == +route.query.addressId,
|
||||||
);
|
);
|
||||||
console.log('address: ', address);
|
|
||||||
if (address) {
|
if (address) {
|
||||||
showFormEdit.value = true;
|
showFormEdit.value = true;
|
||||||
showFormEditModel.value = address;
|
showFormEditModel.value = address;
|
||||||
|
|
Loading…
Reference in New Issue