chenjun 1 年之前
父節點
當前提交
ef0f3cff47
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      src/components/publicPageForm/index.vue

+ 2 - 2
src/components/publicPageForm/index.vue

@@ -154,9 +154,9 @@ export default {
       if (!formItem.length || !Array.isArray(formItem)) return
       const formItemCopy = _.cloneDeep(formItem)
       const [allResult, allResultKey] = [[], []]
-      formItemCopy.map(({ dropdownlist, pagecode, defaultfilter }) => {
+      formItemCopy.map(({ dropdownlist, pagecode ,defaultparameters }) => {
         if (((dropdownlist || dropdownlist == 0) && dropdownlist != "")) {
-          const datacontent = dropdownlist == 19 ? this.formatDefault(defaultfilter) : { filter: { 1: 1 } }
+          const datacontent = defaultparameters ? this.formatDefault(defaultparameters) : { filter: { 1: 1 } }
           allResultKey.push(pagecode)
           allResult.push(Query({ serviceid: dropdownlist, datacontent, event: '0' }))
         }