老师,我试了好几遍,使用全局挂载,状态消失了
老师,我用postman软件post请求时,在debug模式下设置断点后,发现local变量的值是None,我检查了几遍步骤应该没什么问题,我是哪里出错了呢
<template> <div> 动态组件: <button @click="showA">显示A</button> <button @click="showB">显示B</button> <component v-bind:is="currentTabComponent"></component> </div> </template> <script> import AComponent from './child/AComponent' import BComponent from './child/BComponent' export default { name:'MyComponents', data() { return{ currentTabComponent:AComponent } }, components:{ AComponent, BComponent }, methods:{ showA(){ this.currentTabComponent = AComponent }, showB(){ this.currentTabComponent = BComponent } } } </script> <template> <div> A组件 </div> </template> <script> export default { name:'AComponent', data() { }, } </script> <template> <div> B组件 </div> </template> <script> export default { name:'BComponent', data() { }, } </script>
老师,为啥我只能切换一次,刚开始刷新的时候点b可以切换,然后再点A就不可以了
//按姓名查询记录 public void searchByName(){ // System.out.println("seatchByName"); TelNoteRegex regex = new TelNoteRegex(); String name = regex.nameValidate(); serchByAny(name,"name"); // 将搜索方法抽取出来定义新的方法,传入搜索的内容 和 搜索的方式 public void serchByAny(String byAny,String f){ boolean flag =true; for (Person p:this.list){ if (f=="name"){ if (byAny.equals(p.getName())){ System.out.println(p); flag=false; } } if (f=="age"){ if (byAny.equals(p.getAge())){ System.out.println(p); flag=false; } } if (f=="sex"){ if (byAny.equalsIgnoreCase(p.getSex())){ System.out.println(p); flag=false; } } if (f=="add"){ if (byAny.equals(p.getAddress())){ System.out.println(p); flag=false; } } if (f=="tle"){ if (byAny.equalsIgnoreCase(p.getTleNum())){ System.out.println(p); flag=false; } } } if(flag){ System.out.println("查无此人"); } }
老师这样的方法行吗,感觉在这基础上还能在优化
老师,为什么我在txt文件中写的是abc这三个字符,但用read输出的时候会在99之后有13和10,知道在输出一次才输出-1
老师请教一下,有两个问题
1、开根号,我在视频中了解到是因为可以降低数值,但是w和h是相对于原图的比例值,本来就比较小,还有开根号吗?
2、1obj(i),这个符号表示,cell中预测出现物体,还是实际有物体?
1lobj(ij),这个符号表示,bounding boxes中预测出现物体,还是实际有物体?
3、为什么x,y不用开根号,我听视频中说,x,y对IOU没有影响,但是我认为,x,y决定了boxes的位置,是影响IOU的啊?
老师,使用sort()和sorted()对编程有什么大的影响吗
老师 这个是怎么回事 不按套路出牌
???就这? 这也叫一个项目吗 就一个公告类型 和家居有半毛钱关系吗???
为什么要单独创建一个addService啊?不都是操作公告类型的吗?之前增删改查的业务都是放在一个service里的啊。
那这样删除修改的业务是不是也要单独拆出来?
老师,视频中安装完数据库有多个文件夹,但我安装后只有两个文件夹,是否是安装Oracle失败,还是电脑版本问题。
SpringMVC可以通过视图解析器定义视图前缀,SpringBoot没有类似的功能吗?要手动拼接?
老师,安装好 ChromeDriver 后,运行代码后出现 AttributeError: module 'json' has no attribute 'dumps'
代码
# encoding=utf-8 from selenium import webdriver # 构造浏览器 chrome = webdriver.Chrome() # 发送请求,访问url url = 'http://www.baidu.com' chrome.get(url) # 截图 chrome.save_screenshot('baidu.png') # 获取源代码 html = chrome.page_source # 退出 chrome.quit()
错误
怎么没有像视屏老师一样的配置文件?还是没安装成功?
非常抱歉给您带来不好的体验!为了更深入的了解您的学习情况以及遇到的问题,您可以直接拨打投诉热线:
我们将在第一时间处理好您的问题!
关于
课程分类
百战程序员微信公众号
百战程序员微信小程序
©2014-2025百战汇智(北京)科技有限公司 All Rights Reserved 北京亦庄经济开发区科创十四街 赛蒂国际工业园网站维护:百战汇智(北京)科技有限公司 京公网安备 11011402011233号 京ICP备18060230号-3 营业执照 经营许可证:京B2-20212637