UNPKG

goldpankit

Version:

GoldPanKit是一款极速研发套件,可在套件中快速构建各类技术框架和项目。开源作者可发布自己的项目,并为其设定金额,实现开源项目的盈利。

2 lines (1 loc) 750 B
import{_ as s,q as a,D as o,r as n,o as i,h as u}from"./index-aad42eb9.js";import{Q as c}from"./QueryModelView-6a81ffa7.js";import"./InnerRouterViewWindow-98d267d5.js";const d={components:{QueryModelView:c},data(){return{databaseId:null}},methods:{...a(["setCurrentProject","setCurrentProjectDetail","setCurrentDatabase"])},created(){o(this.$route.query.project).then(e=>{this.setCurrentProject(e.id),this.setCurrentProjectDetail(e),this.setCurrentDatabase(this.$route.query.db)}).catch(()=>{this.$tip.apiFailed("找不到项目信息!"),this.$router.push({name:"Desktop"})})}};function p(e,l,h,m,t,_){const r=n("QueryModelView");return i(),u(r,{"database-id":t.databaseId},null,8,["database-id"])}const C=s(d,[["render",p]]);export{C as default};