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);





Kemahiran: Javascript, jQuery / Prototaip, PHP, Vue.js

Tentang Majikan:
( 14 ulasan ) Limeira, Brazil

ID Projek: #19000589

9 pekerja bebas membida secara purata $21 untuk pekerjaan ini


yes sure I can help you now.

$30 USD dalam 0 hari
(172 Ulasan)

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 Lagi

$25 USD dalam sehari
(40 Ulasan)

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

$20 USD dalam sehari
(11 Ulasan)

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 Lagi

$20 USD dalam sehari
(3 Ulasan)

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

$26 USD dalam sehari
(2 Ulasan)

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 dalam sehari
(0 Ulasan)

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 Lagi

$10 USD dalam sehari
(0 Ulasan)

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 Lagi

$20 USD dalam sehari
(0 Ulasan)

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 dalam sehari
(0 Ulasan)