This commit is contained in:
sunmeng 2025-01-14 17:50:41 +08:00
parent a2ae03ff07
commit 562866c52a

View File

@ -879,8 +879,9 @@ export default {
// //
getTypeList(val) { getTypeList(val) {
var store = this.$store.state;
let typeList1 = []; let typeList1 = [];
typeList1 = this.typeList.filter((item) => { typeList1 = store.typeList.filter((item) => {
return item.value == val; return item.value == val;
}); });
return typeList1[0].unit; return typeList1[0].unit;