Закрыт

Help with Vue.js

I get a list from server, and when i change some propertie inside the index 0 the same propertie change on all position from array.

I attach a image

line 1: consulting position 0 = result 0

line 2: consulting position 1 = result 0

line 3: consulting position 4 = result 0

after change value on position 0 to value = 1

all positon get the same value

my Code:

for (var i = 0; i < [login to view URL]; i++){

if([login to view URL][i].day_id == day.day_id){

for (var j = 0; j < [login to view URL][i].[login to view URL]; j++){

if([login to view URL][i].hours[j].id <= day.hour_id){

[login to view URL][i].hours[j].using = 1;

// [login to view URL]("Day: " + [login to view URL][i].day_id);

// [login to view URL]("Hour: " + [login to view URL][i].hours[j].hour);

// [login to view URL]("Using: " + [login to view URL][i].hours[j].using);

}

}

}

}

Квалификация: Javascript, jQuery / Prototype, PHP, Vue.js

О работодателе:
( 14 отзыв(-а, -ов) ) Limeira, Brazil

ID проекта: #19000589

9 фрилансеров(-а) в среднем готовы выполнить эту работу за $21

gursukh

yes sure I can help you now.

$30 USD за 0 дней(-я)
(172 отзывов(-а))
6.6
workandlive123

Hello, After reading this job description, I am convinced that I would be a perfect fit for this role. That is because of - I am a javascript expert who has 5+ years of experience with Vue.js. - I have a firm gr Больше

$25 USD за 1 день
(40 отзывов(-а))
4.8
bitterpotato

Hi. I have more than 2 years experience with vue.js. I can help you get this done quickly and efficiently.

$20 USD за 1 день
(11 отзывов(-а))
3.1
MarketwebGuy

Hi. I always work to get trust from clients. Trust is more important than money for the future. So I work very hard and honestly. As super web expert, my skill is.... Html/css/Javascript/Jquery/AngularJS/ReactJS/V Больше

$20 USD за 1 день
(3 отзывов(-а))
2.3
asadalhassanat

Hi there, Can you send a screenshot for listHourWeekDay? I want to preserve the data format. I am waiting for your answer.

$26 USD за 1 день
(2 отзывов(-а))
2.0
utkarshdubeyg

Hi, Hope you are doing well. From your description unable to understand your problem, therefore, want to discuss more regarding your issue. Looking forward to hearing from you. Thanks and Regards

$25 USD за 1 день
(0 отзывов(-а))
0.0
bgdmhl

Hi, i need you to give me some of the contents of the list and what you need to accomplish because the code is a little hard to read, maybe make a codesandbox or jsfiddle and i will resolve the problem for you. Thank Больше

$10 USD за 1 день
(0 отзывов(-а))
0.0
alexvergara

Hi, this is not an issue with the posted code, is a common mistake when we use variables for assigning the initial values, the values aren't passed directly but as a reference, so, when you try to change the value in o Больше

$20 USD за 1 день
(0 отзывов(-а))
0.0
arushijain016

I ahve 2 years of experience in vuejs and i ahve come across the same problem before. I can solve this problem for you.

$15 USD за 1 день
(0 отзывов(-а))
0.0