Đã Đóng

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





Kĩ năng: Javascript, jQuery / Prototype, PHP, Vue.js

Về Bên Thuê:
( 14 nhận xét ) Limeira, Brazil

ID dự án: #19000589

9 freelancer đang chào giá trung bình $21 cho công việc này


yes sure I can help you now.

$30 USD trong 0 ngày
(172 Nhận xét)

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 Thêm

$25 USD trong 1 ngày
(40 Nhận xét)

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

$20 USD trong 1 ngày
(11 Nhận xét)

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 Thêm

$20 USD trong 1 ngày
(3 Nhận xét)

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

$26 USD trong 1 ngày
(2 Nhận xét)

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 trong 1 ngày
(0 Nhận xét)

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 Thêm

$10 USD trong 1 ngày
(0 Nhận xét)

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 Thêm

$20 USD trong 1 ngày
(0 Nhận xét)

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 trong 1 ngày
(0 Nhận xét)