            },
            checkData:function (type){
                var that = this;
                fetch("api?module=install&action=check", {
                    method: 'POST',
                    body: JSON.stringify({type:type,data:that.appSet}),
                    headers: {
                        'content-type': 'application/json'
                    }
                }).then(resp => resp.json()).then(res => {
                    if(type == 1){
                        that.checkDb = res.code == 0