Does the elementui table table use custom components to create questions for the first time?

the specific situation is like this: click a button to appear the pop-up box, the pop-up box is a component A, and the content of a table, column in component An is a custom component B. if you log in or refresh the page for the first time, component B in the table box is not registered, at this time I click to close the pop-up window to open again, component B displays normally, ask the boss to point out what is the situation and how to solve it?

  1. pop-up boxes and component A
    <el-dialog
      title=""
      :visible.sync="analysisDialog.visible"
      width="70%"
      :close-on-click-modal="false"
    >
      <v-acareco-analysis
        v-if="analysisDialog.visible"
        :basicData="analysisDialog.analysisData"
        :agyAcb="query.agyAcb"
        :myFlag="analysisDialog.visible"
      >

      </v-acareco-analysis>
    </el-dialog>
  1. component B
<template>
  <div>
 <el-table
    :data="testData"
    style="width: 100%">
    <el-table-column
      label=""
      width="180">
      <template slot-scope="scope">
        <div>
          {{ scope.row.km }}
          </div>
      </template>
    </el-table-column>

    <el-table-column
      label=""
      width="580">
      <template slot-scope="scope">
        <div>
          <v-tree-input></v-tree-input>
        </div>
      </template>
    </el-table-column>

  </el-table>
  </div>
</template>
<script>
  export default {
    data(){
      return {
        testData: [{
          km: "",
          fx: "1",
          flje: "233.90",
          cytjx: "",
          tjje: "89.67",
          cy: "34"
        }],
      }
    }
  }
</script>

where v-tree-input is the registered global component, other pages are used correctly, and the data is not bound because it is a test.


try require.ensure, to make sure that B is introduced first and then pop up the window. Is it possible to

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b3502a-2b4a8.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b3502a-2b4a8.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?