UNPKG

goldpankit

Version:

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

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