mirror of
https://gitee.com/niucloud-team/niucloud-admin.git
synced 2025-12-12 10:52:48 +00:00
2 lines
1.4 KiB
JavaScript
2 lines
1.4 KiB
JavaScript
import{d as e,a,i as s,j as t,w as l,k as r,G as o,H as p,n as i,aD as n,x,I as c,q as d,t as u,K as m}from"./index-faf5e276.js";import{_ as f}from"./u-button.9384f0e3.js";import"./u-loading-icon.a6d83e95.js";import"./_plugin-vue_export-helper.1b428a4d.js";import"./u-icon.71776381.js";const _=e({__name:"develop",setup(e){const _=a({baseUrl:`${location.origin}/api/`,imgUrl:""}),b=()=>{let e=uni.getStorageSync("develop_before_path")||"/app/pages/index/index";"/app/pages/index/develop"==e&&(e="/app/pages/index/index"),e=e.replace("/",""),uni.removeStorageSync("develop_before_path"),location.href=`${location.origin}${n.h5.router.base}${e}`};return(e,a)=>{const n=x,g=c,v=d(u("u-button"),f);return s(),t(n,{class:"mt-[80rpx] px-[60rpx]"},{default:l((()=>[r(n,{class:"font-bold text-xl mb-[80rpx]"},{default:l((()=>[o(p(i(m)("developTitle")),1)])),_:1}),r(n,{class:"mb-[40rpx] flex flex-col"},{default:l((()=>[r(g,{class:"mb-[10rpx]"},{default:l((()=>[o(p(i(m)("baseUrl")),1)])),_:1}),r(g,{class:"text-sm"},{default:l((()=>[o(p(_.baseUrl),1)])),_:1})])),_:1}),r(n,{class:"mb-[40rpx] flex flex-col"},{default:l((()=>[r(g,{class:"mb-[10rpx]"},{default:l((()=>[o(p(i(m)("imgUrl")),1)])),_:1}),r(g,{class:"text-sm"},{default:l((()=>[o(p(_.imgUrl),1)])),_:1})])),_:1}),r(v,{type:"primary",onClick:b,class:"mt-[80rpx]"},{default:l((()=>[o(p(i(m)("confirm")),1)])),_:1})])),_:1})}}});export{_ as default};
|