- 博客(4)
- 收藏
- 关注
原创 配置文件vue.config.js
//配置参数/** * devServer.proxy * 前端应用和后端 API 服务器没有运行在同一个主机上,需要在开发环境下将 API 请 求代理到 API 服务器 */ module.exports = { devServer: { proxy: { '/api': { target: 'http://localhost:8989',//地址 ws: true, .
2022-03-31 15:38:48
1537
原创 不显示鸿蒙App的标题栏
首先,找到MainAbility.Java文件里面写一部分Java代码一.APP全屏显示,但不显示状态栏public class MainAbility extends AceAbility { @Override public void onStart(Intent intent) { super.onStart(intent); //注意:只用补下面这一行代码即可,其他的文件自带 //APP全屏显示,但不显示状态栏
2022-03-04 10:19:50
709
原创 Vue2 过滤器
一.全局过滤器: filter()方法在vm以为创建//使用vue.filter()定义全局过滤器 Vue.filter('capi', function(str) { const first = str.charAt(0).toUpperCase() const other = str.slice(1) return first + other + '----' })二.私有过...
2022-03-01 15:05:39
1537
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人