mirror of
https://github.com/kuaifan/dootask.git
synced 2025-12-12 11:19:56 +00:00
2 lines
2.4 KiB
JavaScript
Vendored
2 lines
2.4 KiB
JavaScript
Vendored
import{n,l as o}from"./app.20bd5153.js";import"./@micro-zoe.c2e1472d.js";import"./jquery.20f4a9bb.js";import"./@traptitech.88860da3.js";import"./katex.4a7ead58.js";import"./localforage.1719aefe.js";import"./markdown-it.7c737f4d.js";import"./entities.797c3e49.js";import"./uc.micro.39573202.js";import"./mdurl.2f66c031.js";import"./linkify-it.3ecfda1e.js";import"./punycode.1f25cbf2.js";import"./highlight.js.1d50a63d.js";import"./markdown-it-link-attributes.e1d5d151.js";import"./vue.1f6d1fff.js";import"./vuex.cc7cb26e.js";import"./axios.6ec123f8.js";import"./le5le-store.b40f9152.js";import"./openpgp_hi.15f91b1d.js";import"./vue-router.2d566cd7.js";import"./vue-clipboard2.14cddeec.js";import"./clipboard.a5ccae61.js";import"./view-design-hi.8f621b1c.js";import"./vuedraggable.d4178698.js";import"./sortablejs.ccb26b57.js";import"./vue-resize-observer.f25572a9.js";import"./element-sea.dea177ef.js";import"./deepmerge.cecf392e.js";import"./resize-observer-polyfill.cc119aac.js";import"./throttle-debounce.7c3948b2.js";import"./babel-helper-vue-jsx-merge-props.5ed215c3.js";import"./normalize-wheel.2a034b9f.js";import"./async-validator.87a1f938.js";import"./babel-runtime.4773988a.js";import"./core-js.314b4a1d.js";var s=function(){var t=this,i=t.$createElement,e=t._self._c||i;return e("div")},a=[];const p={data(){return{}},computed:{isSoftware(){return this.$Electron||this.$isEEUiApp}},mounted(){/^https*:/i.test(window.location.protocol)&&(this.$router.mode==="hash"?$A.stringLength(window.location.pathname)>2&&(window.location.href=`${window.location.origin}/#${window.location.pathname}${window.location.search}`):this.$router.mode==="history"&&$A.strExists(window.location.href,"/#/")&&(window.location.href=window.location.href.replace("/#/","/")))},activated(){this.start()},methods:{start(){if(this.isSoftware){this.goNext();return}this.$store.dispatch("showSpinner",1e3),this.$store.dispatch("needHome").then(t=>{this.goIndex()}).catch(t=>{this.goNext()}).finally(t=>{this.$store.dispatch("hiddenSpinner")})},goIndex(){o==="zh"||o==="zh-CHT"?window.location.href=$A.apiUrl("../site/zh/index.html"):window.location.href=$A.apiUrl("../site/en/index.html")},goNext(){this.userId>0?this.goForward({name:"manage-dashboard"},!0):this.goForward({name:"login"},!0)}}},r={};var m=n(p,s,a,!1,h,null,null,null);function h(t){for(let i in r)this[i]=r[i]}var O=function(){return m.exports}();export{O as default};
|