上一页 1 2 3 4 5 6 ··· 19 下一页
摘要: app.vue <template> <div id="main"> <router-view :test_value="this.test_value" :transfer="transfer" :get_value="this.get_value" ></router-view> </div> 阅读全文
posted @ 2023-08-05 20:12 半日闲1 阅读(12) 评论(0) 推荐(0) 编辑
摘要: app.vue <template> <div id="main"> <router-view :test_value="this.test_value" ></router-view> </div> </template> export default { name: 'App', compone 阅读全文
posted @ 2023-08-05 17:57 半日闲1 阅读(4) 评论(0) 推荐(0) 编辑
摘要: 安装vuex: npm install vuex --save 报错:npm ERR! code ERESOLVE npm ERR! ERESOLVE unable to resolve dependency tree........................... 2022年2月7日,vue 阅读全文
posted @ 2023-08-05 16:26 半日闲1 阅读(22) 评论(0) 推荐(0) 编辑
摘要: django 运行之前的项目出现报错:No installed app with label 'admin' 解决:配好数据库,迁移 python manage.py migrate 阅读全文
posted @ 2023-07-31 14:26 半日闲1 阅读(49) 评论(0) 推荐(0) 编辑
摘要: 默认打开的界面是白色的,需要输入正确的路由才能访问正确的页面。 router的index.ts(js)文件中设置路由规则,例如我们默认打开index页面,我们只需要设置routes: const routes = [ { path:"/", name:"brx", redirect:'/index' 阅读全文
posted @ 2023-07-30 18:35 半日闲1 阅读(56) 评论(0) 推荐(0) 编辑
摘要: v-if 用于根据表达式的真假来操作DOM元素,可以切换元素的显示和隐藏; 表达式的值为true时,元素存在于dom树中,表达式为false时,元素从dom树中移除 当数据中pt_show为true时,显示v-if所在的DOM元素, v-else-if所在的DOM元素不会显示 v-else 元素必须 阅读全文
posted @ 2023-07-29 20:42 半日闲1 阅读(17) 评论(0) 推荐(0) 编辑
摘要: demo <el-form-item label="测试" style="display: flex;"> <el-input v-model="form.test" style="width: 541%;" placeholder="测试"></el-input> </el-form-item> 阅读全文
posted @ 2023-07-15 19:21 半日闲1 阅读(2028) 评论(0) 推荐(0) 编辑
摘要: 参考:https://gitcode.net/mirrors/justjavac/replacegooglecdn?utm_source=csdn_github_accelerator or: https://github.com/justjavac/ReplaceGoogleCDN 手动安装: C 阅读全文
posted @ 2023-07-01 16:44 半日闲1 阅读(50) 评论(0) 推荐(0) 编辑
摘要: podman 起容器时候,出现error 解决: 创建命令里面加上 podman --cgroup-manager=cgroupfs run -itd xxx 阅读全文
posted @ 2023-06-28 23:09 半日闲1 阅读(27) 评论(0) 推荐(0) 编辑
摘要: groupby: import random import numpy as np random.seed() df = pd.DataFrame({'data':['a', 'a', 'b', 'b', 'a'], 'num':['one', 'two', 'one', 'two', 'one'] 阅读全文
posted @ 2023-06-09 16:24 半日闲1 阅读(5) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 ··· 19 下一页