neo yang

Copywriter, webmaster, product manager, architect, independent developer.

To start a business and make products, you must do things that are beneficial to society

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. […]

Time:2021/12/30

Record a problem: nuxt page, click to enter normal, refresh and report an error

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.

tags:
Time:2021/12/24

PHP: change the data type to int

php,change the data type to int use: (int). at value front.

it's special.

tags:
Time:2021/12/22

A problem with integrating ckeditor in vue/nuxt

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.

tags:
Time:2021/12/12

Core competitiveness and user ecology

Grasp with both hands, both hands must be hard.

Focus on core competitiveness with one hand and user ecology with the other.

tags:

The basic idea of making a block editor

Mainly refer to two block editors: WordPress’s Gutenberg editor: https://wordpress.org […]

Time:2021/12/09

What matters is what you believe

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.

tags:
Time:2021/12/09

Low-code development platform approach

The way of low-code development platform: configure, and edit everything.

tags:
Time:2021/12/09

Learn from Zeng Guofan

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.

tags:
Time:2021/11/22

Two approaches to SAAS

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.


copyright © www.lyustu.com all rights reserved.
Theme: TheMoon V3.0. Author:neo yang