mirror of
https://github.com/cool-team-official/cool-admin-vue.git
synced 2025-12-16 16:42:50 +00:00
解决插件列表动态表单上传异常
This commit is contained in:
parent
a4bbea31c5
commit
9a4bd66cb2
@ -1,4 +1,5 @@
|
||||
<template>
|
||||
<div>
|
||||
<cl-crud ref="crud" :on-refresh="onRefresh" @load="onLoad">
|
||||
<el-row type="flex" align="middle">
|
||||
<!-- 刷新按钮 -->
|
||||
@ -32,6 +33,9 @@
|
||||
<cl-pagination :props="{ layout: 'total' }" />
|
||||
</el-row>
|
||||
</cl-crud>
|
||||
|
||||
<cl-form ref="form"></cl-form>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
@ -189,7 +193,7 @@ export default {
|
||||
});
|
||||
},
|
||||
async openConf(item) {
|
||||
let form = await this.$service.plugin.info.getConfig({
|
||||
const form = await this.$service.plugin.info.getConfig({
|
||||
namespace: item.namespace
|
||||
});
|
||||
|
||||
@ -202,7 +206,7 @@ export default {
|
||||
console.error(e);
|
||||
}
|
||||
|
||||
this.$crud.openForm({
|
||||
this.$refs.form.open({
|
||||
title: `${item.name}配置`,
|
||||
items,
|
||||
form,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user