(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-2d0cebad"],{6162:function(t,e,r){"use strict";r.r(e);var a=function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("div",{staticClass:"app-container"},[r("el-form",{ref:"form",staticStyle:{width:"500px","padding-left":"40px"},attrs:{model:t.appForm,"label-width":"120px","label-position":"top"}},[r("el-form-item",{attrs:{label:"Appid"}},[r("el-input",{attrs:{disabled:!0},model:{value:t.appForm.appid,callback:function(e){t.$set(t.appForm,"appid",e)},expression:"appForm.appid"}})],1),t._v(" "),r("el-form-item",{attrs:{label:"App版本号"}},[r("el-input",{model:{value:t.appForm.version,callback:function(e){t.$set(t.appForm,"version",e)},expression:"appForm.version"}})],1),t._v(" "),r("el-form-item",{attrs:{label:"更新信息"}},[r("el-input",{model:{value:t.appForm.content,callback:function(e){t.$set(t.appForm,"content",e)},expression:"appForm.content"}})],1),t._v(" "),r("el-form-item",{attrs:{label:"热更新下载地址"}},[r("el-input",{model:{value:t.appForm.hot_url,callback:function(e){t.$set(t.appForm,"hot_url",e)},expression:"appForm.hot_url"}})],1),t._v(" "),r("el-form-item",{attrs:{label:"整包下载地址"}},[r("el-input",{model:{value:t.appForm.pack_url,callback:function(e){t.$set(t.appForm,"pack_url",e)},expression:"appForm.pack_url"}})],1),t._v(" "),r("el-form-item",{staticStyle:{"text-align":"center"}},[r("el-button",{attrs:{type:"warning"},on:{click:t.onSubmit}},[t._v("提交修改")])],1)],1)],1)},n=[],p=(r("96cf"),r("3b8d")),o={data:function(){return{appForm:{appid:"__UNI__BF91653",version:"",content:"",hot_url:"",pack_url:""}}},created:function(){this.getAppInfo()},methods:{onSubmit:function(){var t=Object(p["a"])(regeneratorRuntime.mark((function t(){var e,r;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,this.$api.app.setApp(this.appForm);case 2:e=t.sent,r=e.result,this.appForm=r;case 5:case"end":return t.stop()}}),t,this)})));function e(){return t.apply(this,arguments)}return e}(),getAppInfo:function(){var t=Object(p["a"])(regeneratorRuntime.mark((function t(){var e,r;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,this.$api.app.getApp();case 2:e=t.sent,r=e.result,this.appForm=r;case 5:case"end":return t.stop()}}),t,this)})));function e(){return t.apply(this,arguments)}return e}()}},i=o,l=r("2877"),s=Object(l["a"])(i,a,n,!1,null,null,null);e["default"]=s.exports}}]);