Copywriter, webmaster, product manager, architect, independent developer.
One thing is accomplished in a year, but surprisingly, two things were accomplished in 2021. The first thing is to iterate my low-code development platform until it is relatively mature and can be officially used […]
40 local giants lost to one American Amazon. This battle for the structure cannot be lost anymore! An article from Tencent.com. Some excerpts. 2020 data shows […]
The WeChat applet is embedded into the WEB login and PC-side WeChat scan code login. It is not difficult, but it involves many modifications, including my BAAS platform and low-generation […]
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.
I have built many products and systems. Because it often involves rights management issues, I have made some summaries. A few years ago, I built a large-scale trading platform ([…]
2021 is almost over. This year, a lot of things happened in the Internet circle. The hot online education market collapsed instantly. Digital currencies have suffered heavy losses one after another. […]
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.