You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
1 line
44 KiB
1 line
44 KiB
1 year ago
|
(window.webpackJsonp=window.webpackJsonp||[]).push([["chunk-1fe7a038"],{"12b5":function(t,e,a){},"1c01":function(t,e,a){},3968:function(t,e,a){"use strict";a.d(e,"a",(function(){return r})),a.d(e,"i",(function(){return i})),a.d(e,"g",(function(){return o})),a.d(e,"h",(function(){return s})),a.d(e,"e",(function(){return l})),a.d(e,"j",(function(){return c})),a.d(e,"f",(function(){return u})),a.d(e,"c",(function(){return d})),a.d(e,"d",(function(){return p})),a.d(e,"b",(function(){return f})),a.d(e,"k",(function(){return m})),a("99af");var n=a("6b6c");function r(t){return Object(n.a)({url:"/setting/system_out_account/index",method:"get",params:t})}function i(t){return Object(n.a)({url:"setting/system_out_account/set_status/".concat(t.id,"/").concat(t.status),method:"PUT"})}function o(t){return Object(n.a)({url:"setting/system_out_account/save",method:"post",data:t})}function s(t){return Object(n.a)({url:"setting/system_out_account/update/".concat(t.id),method:"post",data:t})}function l(){return Object(n.a)({url:"setting/system_out_interface/list",method:"get"})}function c(t){return Object(n.a)({url:"setting/system_out_account/set_up/".concat(t.id),method:"put",data:t})}function u(t){return Object(n.a)({url:"setting/system_out_interface/save/".concat(t.id),method:"post",data:t})}function d(t){return Object(n.a)({url:"setting/system_out_interface/info/".concat(t),method:"get"})}function p(t){return Object(n.a)({url:"setting/system_out_interface/edit_name",method:"PUT",data:t})}function f(t){return Object(n.a)({url:"setting/system_out_interface/del/"+t,method:"delete"})}function m(t){return Object(n.a)({url:"setting/system_out_account/text_out_url",method:"post",data:t})}},"3c16":function(t,e,a){},"78ed":function(t,e,a){"use strict";a("3c16")},9666:function(t,e,a){"use strict";a.r(e),a("b0c0"),a("498a");var n=a("c7eb"),r=a("1da1"),i=a("5530"),o=a("ade3"),s=(a("a9e3"),a("fb6a"),a("14d9"),a("7db0"),a("d3b7"),a("a434"),a("99af"),a("6b6c"));function l(t){return Object(s.a)({url:"system/route/".concat(t.id),method:"post",data:t})}function c(t){return Object(s.a)({url:"system/route/"+t,method:"delete"})}function u(t){return Object(s.a)({url:"system/route_cate/"+t,method:"delete"})}var d=a("95d5"),p=(a("caad"),a("b64b"),a("e9c4"),a("159b"),a("d81d"),a("bc3a")),f=(p=a.n(p),a("d708"),a("c276")),m=a("5c96"),v=p.a.create({baseURL:location.protocol+"//"+location.hostname,timeout:1e4}),b=(p.a.defaults.withCredentials=!0,v.interceptors.request.use((function(t){t.file?t.headers["Content-Type"]="multipart/form-data":t.headers["Content-Type"]="application/json;charset=UTF-8";try{if(t.headerItem)for(var e in t.headerItem)t.headers[e]=t.headerItem[e]}catch(t){}return Object(f.c)("token"),Object(f.c)("kefu_token"),t}),(function(t){return Promise.reject(t)})),v.interceptors.response.use((function(t){var e={};return t.data&&(e="string"==typeof t.data?JSON.parse(t.data):t.data),200!==(t.data?e.status:0)?Promise.reject(e||{msg:"未知错误"}):e}),(function(t){m.Message.error("接口异常")})),v),y=a("c2c6");p={name:"",props:{codes:{type:String,default:function(){return""}},readOnly:{type:Boolean,default:function(){return!1}},editorOptions:{type:Object,default:function(){return{selectOnLineNumbers:!0,roundedSelection:!1,readOnly:this.readOnly,cursorStyle:"line",automaticLayout:!1,glyphMargin:!0,useTabStops:!1,fontSize:28,autoIndent:!0}}}},data:function(){return{}},created:function(){},mounted:function(){var t=this;this.monacoEditor=y.editor.create(this.$refs.container,{value:this.codes,language:"json",theme:"vs",automaticLayout:!0,scrollbar:{verticalScrollbarSize:4,horizontalScrollbarSize:10},lineNumbersMinChars:5,editorOptions:this.editorOptions}),setTimeout((function(){t.monacoEditor.trigger("anyString","editor.action.formatDocument"),t.monacoEditor.setValue(t.monacoEditor.getValue())}),100)},methods:{}},a("e20c"),v=a("2877"),p=Object(v.a)(p,(function(){var t=this._self._c;return t("div",{staticClass:"monaco-container"},[t("div",{ref:"container",staticClass:"monaco-editor"})])}),[],!1,null,"1bc47b4c",null).exports;a("b76a");p={components:{Monaco
|