提交 5d9e2b24 authored 作者: fit2cloud-chenyw's avatar fit2cloud-chenyw

fix: 列表新增按钮迷之消失

上级 a84fbecf
<template> <template>
<layout-content v-if="!noLayout" v-loading="$store.getters.loadingMap[$store.getters.currentPath]" :header="header" :back-name="backName"> <layout-content v-if="!noLayout" v-loading="jsname && !innerLoadingNames.includes(jsname) && $store.getters.loadingMap[$store.getters.currentPath]" :header="header" :back-name="backName">
<async-component v-if="showAsync" :url="url" @execute-axios="executeAxios" @on-add-languanges="addLanguages" @on-plugin-layout="setLayoutInfo" @plugin-call-back="pluginCallBack" /> <async-component v-if="showAsync" :url="url" @execute-axios="executeAxios" @on-add-languanges="addLanguages" @on-plugin-layout="setLayoutInfo" @plugin-call-back="pluginCallBack" />
<div v-else> <div v-else>
<h1>未知组件无法展示</h1> <h1>未知组件无法展示</h1>
...@@ -46,7 +46,8 @@ export default { ...@@ -46,7 +46,8 @@ export default {
header: null, header: null,
backName: null, backName: null,
baseUrl: '/api/pluginCommon/async/', baseUrl: '/api/pluginCommon/async/',
url: null url: null,
innerLoadingNames: ['SystemDept', 'SystemRole']
} }
}, },
created() { created() {
......
<template> <template>
<layout-content v-loading="$store.getters.loadingMap[$store.getters.currentPath]"> <layout-content>
<complex-table <complex-table
v-if="canLoadDom" v-if="canLoadDom"
v-loading="$store.getters.loadingMap[$store.getters.currentPath]"
:data="data" :data="data"
:columns="columns" :columns="columns"
local-key="userGrid" local-key="userGrid"
...@@ -107,9 +108,9 @@ ...@@ -107,9 +108,9 @@
:load-options="loadDepts" :load-options="loadDepts"
style="width: 430px" style="width: 430px"
:placeholder="$t('user.choose_org')" :placeholder="$t('user.choose_org')"
:noChildrenText="$t('commons.treeselect.no_children_text')" :no-children-text="$t('commons.treeselect.no_children_text')"
:noOptionsText="$t('commons.treeselect.no_options_text')" :no-options-text="$t('commons.treeselect.no_options_text')"
:noResultsText="$t('commons.treeselect.no_results_text')" :no-results-text="$t('commons.treeselect.no_results_text')"
/> />
</el-form-item> </el-form-item>
<el-form-item style="margin-bottom: 0;" :label="$t('commons.role')" prop="roleIds"> <el-form-item style="margin-bottom: 0;" :label="$t('commons.role')" prop="roleIds">
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论