How to add extra parameters to vue: parent components using props pass functions

Sub-component:

props {
  onSuccess: {
    type: Function,
    default: noop
  }
}
methods: {
    handleSuccess(res, rawFile) {
      this.onSuccess(res, file, this.uploadFiles);
    }
}

parent component uses:

<el-upload
    class="avatar-uploader upload"
    :action="cloudUrl"
    :on-success="handleUrl">
methods: {
    handleUrl(response, file, fileList) {
    }
}

suppose you do not change the additional parameters of the parent component of the child component:

methods: {
    handleUrl(response, file, fileList, extra) {
    }
}

: how should on-success= "handleUrl" be changed to pass parameters?
if the child component uses emit, the parent component can use .arguments to represent the old parameters, and the props function can be used again. Neither can $event. Ask for advice

Mar.28,2021

I see.
on-success= "(response, file, fileList) = > {handleUrlSuccess (response, file, fileList, 233)}"


the subject asks and answers himself, which is interesting, .

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b35d99-41009.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b35d99-41009.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?