在预选的情况下,MatSelect不会触发更改事件

时间:2019-01-09 05:09:16

标签: javascript angular angular-material-6

CREATE or replace FUNCTION ct() RETURNS RECORD AS $$
DECLARE
    clms RECORD;
BEGIN
    SELECT column_name INTO clms
        FROM information_schema.columns
        WHERE table_schema = 'public' AND table_name = 'huiwen';
    RETURN clms;
END;
$$ LANGUAGE plpgsql;
CREATE TABLE sum_2018_xia_weijian
AS
(
    SELECT ct() FROM huiwen
    UNION ALL
    SELECT ct() FROM penglai
    UNION ALL
    SELECT ct() FROM baoluo
    UNION ALL
    SELECT ct() FROM dongge
    UNION ALL
    SELECT ct() FROM resultdonglu
    UNION ALL
    SELECT ct() FROM resultwencheng
    UNION ALL
    SELECT ct() FROM tan_illeg
);

我有多个选择字段,它们是动态生成的。现在,我遇到一个问题,如果我的选择字段已填充并且选择了一个选项,则不会触发selectionChange事件。但是,如果这是用户操作,则将触发该事件。

0 个答案:

没有答案