版本比较

标识

  • 该行被添加。
  • 该行被删除。
  • 格式已经改变。

...

代码块
languagejson
firstline1
linenumberstrue
{
    "fields": [{
        "key": "course_index",
        "options": {
            "onlyTc": false,
            "after_process": "=function (info) {if (info.response.data.success){if ( {let file_name = info.response.data.index_list[0].file_name;let file_format = file_name.split('.').pop();let course_index = info.response.data.index;if (file_nameformat === 'mp4') {SCOPE.base_form.data.course_index = info.response.data.course_index + ',' + info.response.data.file_name;} else {SCOPE.base_form.data.course_index = info.response.data.course_index;}let course_format_arr = info.response.data.file_name.split('.');SCOPE.base_form.data.course_format =course file_format_arr[course_format_arr.length-1];SCOPE.base_form.data.name = info.response.data.file_name;}}}",
            "uploadLocal": true,
            "custom_api": {
                "img_src": "/document/loadsourceimage?index=",
                "preview": "/document/loadsourcedocument/",
                "upload": "httphttps://139poctest.199.162.148:31961hcmcloud.cn/upload_video?app_id=qewiproeqw&app_secret=dsafrqewireowq",
                "download": "httphttps://139poctest.199.162.148:31961hcmcloud.cn/"
            }
        }
    }]
}