Record a PHP error: the interface return is null, print_r or echo can output, but with a null string at the end.
There are two situations.
1. There is an error in the json string, causing an error in json_decode.
2. There is no return result in the function of the interface, but the result is returned in other functions called.
Record a problem: nuxt page, click to enter normal, refresh and report an error.
The problem is in a layout.
data() {
return {
routeData: {},//This turned out to be this.$route, and an error was reported after refreshing. After changing it to an empty object, everything will be fine.
...
}
...
watch: {
...
"$store.state.routeData": {
handler: function (newVal, oldVal) {
console.log(this.$store.state.routeData);
this.routeData = this.$store.state.routeData;
},
},
},
In the ssr mode of nuxt, a refresh error occurs. You can check three places: data, asyncData, and store.
php,change the data type to int use: (int). at value front.
it's special.
ckeditor is integrated into nuxt.
There is no problem if ckeditor is placed on the page. When placed in a component, there is a problem when uploading images, and the file cannot be obtained.
Never figured out the reason.
Therefore, a slot is added to the form component. When referencing the form component in the page, insert the ckeditor at the same time.
problem solved.
Grasp with both hands, both hands must be hard.
Focus on core competitiveness with one hand and user ecology with the other.
What matters is what you believe.
The movie "A Beautiful Mind" is worth watching. It tells the story of Nash, a genius scientist with schizophrenia who developed game theory and won the Nobel Prize.
Let’s sigh, genius is not great, what is great is the genius’ family.
It was precisely because Nash's wife believed that Nash would not hurt her, that Nash should live like a normal person, and refused a psychiatrist that he finally became such a Nobel Prize winner.
Especially now, in this era where concepts, theories, excuses, arguments, sophistry, and even fallacies are everywhere, a fact can be said to be correct from both the pros and cons.
What you believe determines to a large extent what you do and who you become.
What matters is what you believe.
The way of low-code development platform: configure, and edit everything.
Learn from Zeng Guofan.
Build a stronghold, fight a dull battle, take one step at a time, and do it in a down-to-earth manner.
No illusions, no tricks, no tricks, no intrigues.
Just play real, hardcore, low-level, competitive, and manly.
There are two approaches to SAAS.
1. God’s perspective, controlling user abilities through the user’s role permissions.
2. From the user perspective, organize the information structure and workflow through what the user role needs to do.