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.
2 lines
1.5 KiB
2 lines
1.5 KiB
"use strict";const o=require("../../common/vendor.js"),s=require("../platform/index.js"),r=require("../router/index.js"),i=require("./user.js"),n=require("./sys.js"),t=o.defineStore({id:"app",state:()=>({info:{name:"",logo:"",version:"",copyright:"",copytime:"",cdnurl:"",filesystem:""},platform:{share:{methods:[],forwardInfo:{},posterInfo:{},linkAddress:""},bind_mobile:0},chat:{},template:{basic:{},home:{style:{},data:[]},user:{style:{},data:[]}},shareInfo:{},has_wechat_trade_managed:0}),actions:{async init(p=null){await s._platform.checkNetwork()||r.$router.error("NetworkError");{this.info={name:"骑行app",logo:"https://static.iocoder.cn/ruoyi-vue-pro-logo.png",version:"1.1.13",copyright:"全部开源,个人与企业可 100% 免费使用",copytime:"Copyright© 2018-2024",cdnurl:"https://file.sheepjs.com",filesystem:"qcloud"},this.platform={share:{methods:["poster","link"],linkAddress:"https://shopro.sheepjs.com/#/",posterInfo:{user_bg:"/static/img/shop/config/user-poster-bg.png",goods_bg:"/static/img/shop/config/goods-poster-bg.png",groupon_bg:"/static/img/shop/config/groupon-poster-bg.png"}},bind_mobile:0},this.chat={chat_domain:"https://api.shopro.sheepjs.com/chat",room_id:"admin"},this.has_wechat_trade_managed=0,n.sys().setTheme();const e=i.user();return e.isLogin&&e.loginAfter(),Promise.resolve(!0)}}},persist:{enabled:!0,strategies:[{key:"app-store"}]}}),a=Object.freeze(Object.defineProperty({__proto__:null,default:t},Symbol.toStringTag,{value:"Module"}));exports.__vite_glob_0_0=a;exports.app=t;
|