1.明确好界面中的导航区、展示区 2.导航区的a标签改为Link标签 <Link to="/xxxxx">Demo</Link> 3.展示区写Route标签进行路径的匹配 <Route path='/xxxx' component={Demo}/> 4.<App>的最外侧包裹了一个<BrowserR ...
分类:
其他好文 时间:
2021-04-30 12:38:22
阅读次数:
0
Django cbv的执行流程 path('test/',views.TestView.as_view()), # path('test/',View类的as_view内部有个view闭包函数内存地址), # path的第二个参数是:View类的as_view内部有个view闭包函数内存地址 1 一 ...
禁用原生导航栏,APP、h5和微信小程序禁用的方法不一样哦,在page.json中配置 { "path": "pages/index/index", "style": { "navigationBarTitleText": "首页", "navigationStyle": "custom",//禁用 ...
分类:
移动开发 时间:
2021-04-30 12:06:06
阅读次数:
0
<PropertyGroup> <AppendTargetFrameworkToOutputPath>false</AppendTargetFrameworkToOutputPath> <AppendRuntimeIdentifierToOutputPath>false</AppendRuntime ...
分类:
移动开发 时间:
2021-04-29 12:04:19
阅读次数:
0
前端vue项目打包build之后,把生成的dist里面的文件全选复制一份 在tomcat的webapps文件夹下,新建一个项目文件,把复制的内容粘贴进去 如果有需要的话,在conf文件夹下的server.xml的下添加配置指定访问路径 在Connector标签中配置端口号 ...
分类:
其他好文 时间:
2021-04-29 11:57:27
阅读次数:
0
// 安全文件路径,$fileName:完成文件路径 function securityFilePath($fileName,$read_write = '0777'){ $path = dirname($fileName); if(!file_exists($path)){// 判断路径是否存在, ...
分类:
Web程序 时间:
2021-04-29 11:54:35
阅读次数:
0
使用debug模式不对代码加密保护,当使用用Release模式自动对编译成功项目加密保护,这样真的方便不少。 if $(ConfigurationName) == Release goto Release goto Debug:Debugxcopy /y /k "$(TargetPath)" D:\ ...
分类:
Web程序 时间:
2021-04-28 11:40:34
阅读次数:
0
2021年4月24日17:29:22 环境: php8.0.3 centos 8.3 ./configure \ --prefix=/usr/local/php8 \ --with-config-file-path=/usr/local/php8/etc \ --with-curl \ --with ...
分类:
Web程序 时间:
2021-04-27 15:21:59
阅读次数:
0
方法一:cmd脚本 md 文件名+空格+文件名+空格+文件名 如md 1 2 3 保存为bat 如下图 方法二:python 脚本 如上为单个文件创建成功,既然用到python,肯定是想创建多个,新增如下代码 具体代码如下 import re def mkdir(path): # 引入模块 impo ...
分类:
其他好文 时间:
2021-04-27 15:10:37
阅读次数:
0
import pandas as pd import os import re path = "./files/" files = os.listdir(path) # 用于存放Excel,里面的每个元素类型为:pandas.core.frame.DataFrame list_excel = [] ...
分类:
编程语言 时间:
2021-04-27 14:43:38
阅读次数:
0