The problem with the Element UI paging method call, why not execute the method written in @ size-change?

  1. because I have multiple data lists on my page, I integrate the corresponding data methods into one method, and then return the methods in the integration method. The code goes like this:

script

template

  1. usecaseMetheds().pageSizeChange :


1/

limit


bind event listeners. The event type is specified by the parameter. The expression can be the name of a method or an inline statement , which can be omitted if there is no modifier.

if vue when you are the name of the method, methods ['usecaseMetheds (). PageSizeChange'] is undefined , not Function then continue parsing, vue when you are inline usecaseMetheds (). PageSizeChange property access returns Function , it will not be executed.

usecaseMetheds().pageSizeChange()

v-on


yesterday's problem has been solved!
solution:
pass the original event event in the paging event, that is, the $event keyword, @ size-change= "usecaseMethods (). PageSizeChange ($event)"

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-1e45356-43843.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-1e45356-43843.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?