fix deal close
This commit is contained in:
parent
bef78f8afb
commit
581cadbd22
@ -555,9 +555,9 @@ var ac = new Vue({
|
|||||||
for (var i in res) {
|
for (var i in res) {
|
||||||
if (i == 'next_step_select') {
|
if (i == 'next_step_select') {
|
||||||
ac.nextStepSelect = res.next_step_select;
|
ac.nextStepSelect = res.next_step_select;
|
||||||
if (ac.nextStepSelect.id.id) {
|
if (ac.nextStepSelect && ac.nextStepSelect.id && ac.nextStepSelect.id.id) {
|
||||||
//if (ac.nextStepSelect.name === undefined) {
|
//if (ac.nextStepSelect.name === undefined) {
|
||||||
let temp_next = ac.step.arr_next_steps.find((el, idx) => el.id.id == ac.nextStepSelect.id.id);
|
let temp_next = ac.step.arr_next_steps.find((el, idx) => el.id && ac.nextStepSelect && ac.nextStepSelect.id && el.id.id == ac.nextStepSelect.id.id);
|
||||||
//console.log(temp_next);
|
//console.log(temp_next);
|
||||||
if (temp_next === undefined) {
|
if (temp_next === undefined) {
|
||||||
ac.nextStepSelect = '';
|
ac.nextStepSelect = '';
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user