var $url="/settings/utilitiesCache",data=utils.init({configuration:null,parameters:null}),methods={apiGet:function(){var t=this;$api.get($url).then(function(i){var n=i.data;t.configuration=n.configuration,t.parameters=[],_.forOwn(n.configuration,function(i,n){t.parameters.push({key:n,value:i})})}).catch(function(t){utils.error(t)}).then(function(){utils.loading(t,!1)})},btnCleanClick:function(){var t=this;utils.loading(this,!0),$api.post($url).then(function(t){t.data;utils.success("成功清空缓存！")}).catch(function(t){utils.error(t)}).then(function(){utils.loading(t,!1)})}},$vue=new Vue({el:"#main",data:data,methods:methods,created:function(){this.apiGet()}});