wu 2 месяцев назад
Родитель
Сommit
3b5e322f30
1 измененных файлов с 2 добавлено и 0 удалено
  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 },
   data() {
     return {
+      modelId:'',
       title: '请选择',
       visible: false,
       relationWidth: '60%',
@@ -203,6 +204,7 @@ export default {
   created() {},
   methods: {
     async init(v,filterColumnList) {
+      this.modelId = this.$route.query.id
       await getConfigData(v).then((res) => {
         this.config = res.data.data
         this.idKey = this.config.idKey