|
@@ -216,13 +216,9 @@ export default {
|
|
|
methods: {
|
|
|
show() {
|
|
|
this.form = JSON.parse(JSON.stringify(this.nodeConfig))
|
|
|
- let formConfig = []
|
|
|
- if (this.form.extendConfig) {
|
|
|
- formConfig = this.form.extendConfig.formConfig
|
|
|
- }
|
|
|
const { formStructure } = JSON.parse(this.processForm)
|
|
|
- const { fields } = formStructure
|
|
|
- const operateTable = fields.map(item => {
|
|
|
+ const formConfig = this.form.extendConfig?.formConfig || []
|
|
|
+ const operateTable = (formStructure?.fields || []).map(item => {
|
|
|
let opera = '1'
|
|
|
formConfig.map(i => {
|
|
|
if (item.id === i.id) {
|