Selaa lähdekoodia

列关联优化

wu 2 kuukautta sitten
vanhempi
commit
3b5e322f30
1 muutettua tiedostoa jossa 2 lisäystä ja 0 poistoa
  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