in actual projects, customers often clap their heads and decide to add and delete some status fields. take a chestnut, for example, to publish an article, the initial status status field has only two, one is the "unpublished " status, and the other is ...
the code is as follows export class SHost_Room{ constructor(rooms){ } } let rooms = [...] let shRooms = new SHost_Room(rooms); I m not good at object-oriented, and I feel like I don t have a train of thought. ...
question: in some current projects, such as the first column of the first row of the table is fixed, the form radio and all selections are implemented by themselves using js (not considering using the framework for the time being). So how to effectively ...
Many people on use calculator examples to illustrate these two principles, but it seems that the difference is that OCP has an abstract class, while SRP does not inherit abstraction compared with SRP, OCP, the examples of 1.OCP are all independent of...
my ueditor image access prefix can t be added! set "imageUrlPrefix ": "http: 127.0.0.1:8000 ", picture access path prefix in ueditor php config.json description: 1, background configuration and other codes are all intact 2, xadmin can d...
sql executes sequential from,on,join. reference article there are two tables, posts 10000 data, post_slugs 14 records, and posts, two tables are associated by post_id. Use mysql SELECT * from posts,post_slugs where post_slugs.post_id=posts.post_i...
The textbook says: alert (opener.name) can get the name of the parent window. cat father.html <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>< title> < head>...
if you want to add a person 6.0, how to achieve ...
@media only screen and (max-width: 310px) and (min-width: 300px) {html {font-size: 9px}} @media only screen and (max-width: 320px) and (min-width: 310px) {html {font-size: 9px} } @media only screen and (max-width: 360px) and (min-width: 320px) {html {fon...