      if (evt.detail.type === 'suffix') {
                alert('只支持 *.ttf 格式哦！');
            }
        },

        onInputValueChanged: function (evt) {
            this.content = evt.detail.newValue;
            this.$.preview.setContent(this.content);
        },

        resetFont: function () {
            this.$.preview.resetFont();
            this.selected = !this.selected;
        },

        generate: function () {
            if (this.$.generateAction.getAttribute('disabled') !== nu