# npm安装路由、 # main.js中注入路由 # router.js中 import Router from 'vue-router' Vue.use(Router) # 定义路由表 new VueRouter({ linkActiveClass:'active', //全局配置 router ...
                            
                            
                                分类:
其他好文   时间:
2020-11-07 16:26:14   
                                阅读次数:
16
                             
                         
                    
                        
                            
                            
                                
                    #include<stdio.h> #include<string.h> #include<stdlib.h> 1、提供一个顺序存储的栈 #define max 1024 struct sstack { void * data[max]; //栈的数组 int m_size; //栈大小 }; ty ...
                            
                            
                                分类:
其他好文   时间:
2020-11-01 22:08:22   
                                阅读次数:
16
                             
                         
                    
                        
                            
                            
                                运行ParentChildTest代码得到的结果是: Parent.printValue(),myValue=100 Child.printValue(),myValue=200 Child.printValue(),myValue=200 Child.printValue(),myValue=20 ...
                            
                            
                                分类:
其他好文   时间:
2020-11-01 09:30:58   
                                阅读次数:
14
                             
                         
                    
                        
                            
                            
                                
                    新建主界面 xml <?xml version="1.0" encoding="utf-8"?> <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas. ...
                            
                            
                                分类:
移动开发   时间:
2020-10-31 01:15:44   
                                阅读次数:
27
                             
                         
                    
                        
                            
                            
                                
                    今天在转译的时候遇到的情况 否定伪类选择器(:not):不匹配该属性的每个元素(微信小程序不支持) 1 .bank .wrap.data-v-1773f763 >:not(:last-child) { 2 border-bottom: 1px solid #f0f0f0; 3 } ...
                            
                            
                                分类:
微信   时间:
2020-10-22 22:54:00   
                                阅读次数:
51
                             
                         
                    
                        
                            
                            
                                
                    1.如果类A可能会被继承,那么A的析构函数一定要被设置为virtual虚函数; 原因:如果基类的析构函数不是虚函数,当创建一个基类指针指向一个派生类对象,当释放此基类指针时,子类的析构函数不会被调用; 如下: class CFather { public: CFather(); virtual ~C ...
                            
                            
                                分类:
编程语言   时间:
2020-10-21 20:42:11   
                                阅读次数:
21
                             
                         
                    
                        
                            
                            
                                首先,$listeners是什么? // Parent <template> ... <child v-on:event-one="methodOne" v-on:event-two="methodTwo" /> ... </template> 那么你在使用Child时,传入的所有v-on事件都可以 ...
                            
                            
                                分类:
其他好文   时间:
2020-10-18 16:15:48   
                                阅读次数:
16
                             
                         
                    
                        
                            
                            
                                * 1963年, Marvin L. Minsky 在论文中发布了复制算法----简单的说,GC复制算法就是把某个空间里的活动对象复制到其他的空间,把原空间的所有对象都回收掉。在此,我们将复制活动的原空间称为 `From` 空间,将粘贴活动对象的空间称为 `To` 空间。GC复制算法是利用From空... ...
                            
                            
                                分类:
编程语言   时间:
2020-10-16 11:28:10   
                                阅读次数:
38
                             
                         
                    
                        
                            
                            
                                
                    国庆假期已经结束了,放假几天出行,这些天没分享Python。今天来给大家分享一下~ 很多时候我们喜欢在自己电脑的终端直接ssh连接Linux服务器,而不喜欢使用那些有UI界面的工具区连接我们的服务器。可是在终端使用ssh我们每次都需要输入账号和密码,这也是一个烦恼,所以我们可以简单的打造一个在Lin ...
                            
                            
                                分类:
编程语言   时间:
2020-10-08 19:22:26   
                                阅读次数:
22
                             
                         
                    
                        
                            
                            
                                
                    For a binary tree T, we can define a flip operation as follows: choose any node, and swap the left and right child subtrees. A binary tree X is flip e ...
                            
                            
                                分类:
其他好文   时间:
2020-10-08 19:09:30   
                                阅读次数:
24