You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Property or method "city" is not defined on the instance but referenced during render. Make sure that this property is reactive, either in the data option, or for class-based components, by initializing the property.
I am not sure the use case, my guess is that your object named "city" is not reactive state because you want it to be a constant, and because it is not reactive state, it cannot be used in a template, if you are trying to use it as a constant, it is better to use directly in the template: <template> dl </template>
this case is in vue2.x , and throw error below:
code like this:
so, why setup() not allow return freeze property ? and how to use freeze object in hook api ?
thank u
The text was updated successfully, but these errors were encountered: