The parameter passed by the VUE parent to the son cannot be obtained.

my ultimate goal is to get it in methods, and now I can"t even get it on the page. That"s why

Feb.25,2022

memberType to member-type , dueId to due-id


I don't know
downstairs reply


props:{
  memberType:{
     type:Number,
     default:0
  }
}

props requires a default initialization value.


should be no problem, you are not directly used in methods memberType and dueId, should use this.memberType and this.dueId call


I suggest you truncate the page map, feel that you called the method of the same name in methods


I found the problem, the component is written too long. There is also a props: {msg:String}
which should overwrite the preceding


either in the form of an array directly, or each value is an object and brought to a default value. The writing here is not correct

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