import {logicStatus} from "../../model/enum"; import {getDataSet} from "../../utils/utils"; Component({ externalClasses: ['background'], properties: { msg: Object }, data: { logicStatusEnum: logicStatus }, methods: { noticeRead(e) { const id = getDataSet(e, "id"); this.triggerEvent("read", {id}); } } });