cuiqian2004
2025-08-15 c9ecd7684e6ada47de4669885e66dc564128e89b
pages/modal/form/index.vue
@@ -438,7 +438,7 @@
                     data_json,
                     ext_info
                  })
                  if (result.ret != 0) {
                  if (result.ret != 0&& result.ret != 1) {
                     var tip = result.err_info ? typeof result
                        .err_info == 'string' ? result
                        .err_info : result.err_info.join('<br/>') :
@@ -762,7 +762,7 @@
                  runCustomEvent(dataInfo).then(result => {
                     console.log(result);
                     if (result.ret != 0) {
                     if (result.ret != 0&& result.ret != 1) {
                        var tip = result.err_info ? typeof result
                           .err_info == 'string' ? result
                           .err_info : result.err_info.join('<br/>') :
@@ -904,8 +904,8 @@
         setFormValues(attrs) {
            console.log(attrs)
            const head_styledef = this.head_styledef
            if (JSON.stringify(attrs) == '{}') {
               return;
            if (!Array.isArray(attrs)) {
               return
            }
            attrs.forEach(async (attr, key) => {
               if (attr.choice_list) {
@@ -1125,7 +1125,7 @@
            console.log(dataInfo);
            // return;
            runCustomEvent(dataInfo).then(data => {
               if (data.ret != 0) {
               if (data.ret != 0&& data.ret != 1) {
                  var tip = data.err_info ? typeof data.err_info == 'string' ? data
                     .err_info :
                     data
@@ -1293,7 +1293,7 @@
            console.log(dataInfo);
            // return;
            runCustomEvent(dataInfo).then(data => {
               if (data.ret != 0) {
               if (data.ret != 0&& data.ret != 1) {
                  var tip = data.err_info ? typeof data.err_info == 'string' ? data
                     .err_info :
                     data