Browse Source

列关联优化

wu 2 months ago
parent
commit
3b5e322f30
1 changed files with 2 additions and 0 deletions
  1. 2 0
      src/components/Generator/components/RelationTable/index.vue

+ 2 - 0
src/components/Generator/components/RelationTable/index.vue

@@ -152,6 +152,7 @@ export default {
   components: { AmisSdk, Search },
   components: { AmisSdk, Search },
   data() {
   data() {
     return {
     return {
+      modelId:'',
       title: '请选择',
       title: '请选择',
       visible: false,
       visible: false,
       relationWidth: '60%',
       relationWidth: '60%',
@@ -203,6 +204,7 @@ export default {
   created() {},
   created() {},
   methods: {
   methods: {
     async init(v,filterColumnList) {
     async init(v,filterColumnList) {
+      this.modelId = this.$route.query.id
       await getConfigData(v).then((res) => {
       await getConfigData(v).then((res) => {
         this.config = res.data.data
         this.config = res.data.data
         this.idKey = this.config.idKey
         this.idKey = this.config.idKey