king
2022-08-02 8d66ff34fae5b048a6b7923cc75d34f13a08be9d
src/views/appmanage/scriptform/index.jsx
@@ -17,7 +17,7 @@
  }
  state = {
    type: 'subapp',
    type: 'view',
    sublist: [],
    views: [],
    appId: '',
@@ -43,7 +43,9 @@
    this.viewList = {}
    this.setState({sublist, appId, subAppId})
    this.setState({sublist, appId, subAppId}, () => {
      this.getViews()
    })
  }
  /**
@@ -166,7 +168,7 @@
              </Tooltip>
            }>
              {getFieldDecorator('VType', {
                initialValue: 'subapp',
                initialValue: 'view',
                rules: [{
                  required: true,
                  message: '请选择类型!'