dootask/public/js/build/UpdateLog.f95c2f48.js
2023-04-24 17:11:11 +08:00

2 lines
1.2 KiB
JavaScript
Vendored

import{n as s,p as r}from"./app.49f07a13.js";var u=function(){var t=this,o=t.$createElement,e=t._self._c||o;return e("Modal",{attrs:{fullscreen:t.uplogFull,"class-name":"update-log"},model:{value:t.uplogShow,callback:function(l){t.uplogShow=l},expression:"uplogShow"}},[e("div",{attrs:{slot:"header"},slot:"header"},[e("div",{staticClass:"uplog-head"},[e("div",{staticClass:"uplog-title"},[t._v(t._s(t.$L("\u66F4\u65B0\u65E5\u5FD7")))]),t.updateVer?e("Tag",{attrs:{color:"volcano"}},[t._v(t._s(t.updateVer))]):t._e()],1)]),e("MarkdownPreview",{staticClass:"uplog-body scrollbar-overlay",attrs:{initialValue:t.updateLog}}),e("div",{staticClass:"adaption",attrs:{slot:"footer"},slot:"footer"},[e("Button",{attrs:{type:"default"},on:{click:function(l){t.uplogFull=!t.uplogFull}}},[t._v(t._s(t.$L(t.uplogFull?"\u7F29\u5C0F\u67E5\u770B":"\u5168\u5C4F\u67E5\u770B")))])],1)],1)},n=[];const p={name:"UpdateLog",components:{MarkdownPreview:r},props:{value:{type:Boolean,default:!1},updateVer:{},updateLog:{}},data(){return{uplogShow:!1,uplogFull:!1}},watch:{value:{handler(t){this.uplogShow=t},immediate:!0},uplogShow(t){this.$emit("input",t)}}},a={};var i=s(p,u,n,!1,c,null,null,null);function c(t){for(let o in a)this[o]=a[o]}var v=function(){return i.exports}();export{v as U};