版本比较

标识

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

...

代码块
languagejson
firstline1
linenumberstrue
{
    "fields": [{
        "key": "course_index",
        "options": {
            "onlyTc": false,
            "after_process": "=function (info) {if(info.response.data.success){SCOPE.base_form.data.course_index = info.response.data.index + ',' + info.response.data.file_name;let course_format_arr=info.response.data.file_name.split('.');SCOPE.base_form.data.course_format =course_format_arr[course_format_arr.length-1];SCOPE.base_form.data.name = info.response.data.file_name;}}",
            "uploadLocal": true,
            "custom_api": {
				"preview": "/img?index=",
                "upload": "http://139.199.162.148:31961/upload_video?app_id=qewiproeqw&app_secret=dsafrqewireowq"
				"download": "http://139.199.162.148:31961/"
            }
        }
    }]
}