The value transmitted by vue element is reported as _ self.$scopedSlots.default is not a function

<template>
  <div>
    <el-dialog :title="dialogConfig.title" :visible.sync="dialogConfig.isDialog" :width="dialogConfig.width" :top="dialogConfig.top">
      <el-form :model="dialogModel" :inline="dialogConfig.inline">
        <template v-for="(item, $index) in dialogData">
          <el-form-item :label="item.label" :label-width="item.labelWidth" v-if="item.isShow">
            <el-date-picker v-if="item.isType === "r"" v-model="dialogModel[item.prop]" :size="item.size"  :type="item.type" :placeholder="item.placeholder" :disabled="item.disabled"></el-date-picker>
            <el-input v-if="item.isType === "1"" v-model="dialogModel[item.prop]" :size="item.size" :type="item.type" :placeholder="item.placeholder" :disabled="item.disabled"></el-input>
            <el-select v-if="item.isType === "isSelect"" v-model="dialogModel[item.prop]" :size="item.size" :type="item.type" :placeholder="item.placeholder" :disabled="item.disabled">
              <el-option v-for="(option, $option) in item.state" :key="$option" :value="parseInt(option.state)">{{option.text}}</el-option>
            </el-select>
          </el-form-item>
        </template>
      </el-form>
      <div slot="footer" class="dialog-footer">
        <el-button @click="dialogConfig.isDialog = false" v-text="dialogConfig.cancel"></el-button>
        <el-button type="primary" @click.sync="clickBus(dialogConfig.evenName, model)" v-text="dialogConfig.Submit"></el-button>
      </div>
    </el-dialog>
  </div>
</template>
<script>
  export default {
    mixins: [],
    props: ["dialogConfig", "dialogData", "dialogModel"],
    data () {
      return {}
    },
    computed: {},
    updated () {},
    mounted () {},
    destroyed () {
    },
    watch: {},
    methods: {
      clickBus (eveName, parameters) {
        this.$emit(eveName, parameters)
      }
    }
  }
</script>
<style scoped>
</style>
Mar.15,2021

clipboard.png
key


v-ifv-show



v-if v-show v-if false


clipboard.png
add KEY to solve
my case is that there is no problem with v-if switching between multiple Table.
this error occurred after adding another templete distribution to a table. I added key to the table that added templete and did not report an error

.
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-1e45185-44b1d.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-1e45185-44b1d.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?