导入模版必填项加红色

master
xy 1 year ago
parent 546e1a9fd0
commit ccc7803b51

@ -135,6 +135,8 @@ export default {
destroy({ table_name: "lets_to_assets", id: row._relation_id },false).then(_ => { destroy({ table_name: "lets_to_assets", id: row._relation_id },false).then(_ => {
this.nowAssets.splice(this.nowAssets.findIndex(j => j._relation_id === row._relation_id),1) this.nowAssets.splice(this.nowAssets.findIndex(j => j._relation_id === row._relation_id),1)
}) })
} else {
this.nowAssets.splice(this.nowAssets.findIndex(j => j._relation_id === row._relation_id),1)
} }
}) })
} }

@ -425,6 +425,15 @@ export default {
1 1
); );
}); });
} else {
this.nowAssets.splice(
this.nowAssets.findIndex(
(j) =>
j._relation_id ===
row._relation_id
),
1
);
} }
}); });
}, },

Loading…
Cancel
Save