king
2020-03-18 cb4c8706eb48183ac8875d92d4a950ad6b6675a2
src/templates/subtableconfig/index.jsx
@@ -988,6 +988,7 @@
      let newLText = Utils.formatOptions(Utils.getTableFunc(setting, {MenuID: config.uuid, MenuName: config.tabName, MenuNo: config.tabNo}, config)) // 创建存储过程sql
      let DelText = Utils.formatOptions(Utils.dropfunc(setting.innerFunc))          // 删除存储过程sql
      let isExit = false    // 存储过程是否存在
      new Promise(resolve => {
        let sysDefer = new Promise(resolve => {
@@ -1044,6 +1045,7 @@
          if (index === 0 && item.TVPText) {
            cloudfunc = item.TVPText
          } else if (index === 1 && item.Ltext) {
            isExit = true
            localfunc = Utils.formatOptions(item.Ltext)
          }
        })
@@ -1092,6 +1094,8 @@
            duration: 10
          })
          return false
        } else if (isExit) {
          return 'drop'
        } else {
          return 'create'
        }