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...
Click on the list page to jump to the form page. After the form is submitted successfully, how not to cache it? the next time the list page clicks in, it is a new page. I have tried keep-alive s include but it doesn t seem to work for router-view. A...
the program that calls dubbo written in eclipse is exported to runnarunnable jar, through eclipse. The xsd, is not found in the total report, but it is normal in eclipse. Xsd is also exported, as shown in the screenshot. 2018-10-14 12 Flux 54 WARN o.b...
wants to handle some business logic in computed, but ESlint prompts that variables in data cannot be reassigned in computed; is there a better way for to handle it? Except for putting it in watch computed: { userData() { const ...
<el-date-picker style="width: 50%;" v-model="nowTime" :editable="false" type="month" :clearable="false" size="mini" @change = "changeDate" placeholder=&...
I set the height of the entire container element to 100vhdisplay to flex,flex-direction: column. child element An is set to flex:1, child element B initialization is fixed height, click height will increase, child element A will fill the remaining spa...