mowen1992's recent timeline updates
mowen1992

mowen1992

V2EX member #574579, joined on 2022-03-07 16:19:43 +08:00
mowen1992's recent replies
Nov 26, 2024
Replied to a topic by 17lian React 马上 2025 年了,还有多少人在用 React Native ?
@inoridream 最近在用 uniapp 做音乐播放软件,讲道理,uniapp 属实太卡,然后换 uniappx ,确实流畅很多,但基础功能没实现了,想做一个耳机控制上一曲下一曲播放暂停的功能,插件市场没插件,ai 编程没安卓基础开发起来确实一头雾水。。。
没错,因为用九宫格的年轻人不再年轻了。。。比如我
长得好看和毛发多不多没啥关系,另外基因会隐身,有时候不会显露,遇到合适的对方才出现。。。。
Aug 26, 2024
Replied to a topic by todayswind 游戏 黑神话,你们到哪里了?
第三章开头,昨天刚过第二章
Jul 2, 2024
Replied to a topic by zuzippo 生活 你的房子跌了多少啦?
昆山,不算利息 40w ,同事买房的基本亏 40-70
先问岁数,30 是分界,30 以下重在体验,30 以上,你要是 nb 不会问这个问题,要是不牛,那就要尽快走上寻常人的老路了,娶妻,买房买车,生子,我始终觉得对普通人来说这一套,早比晚好。
May 14, 2024
Replied to a topic by williamyang528 分享创造 开发了个羞羞的图片 AI 工具
[email protected] 充满,谢谢,好人一生平安
Apr 30, 2024
Replied to a topic by waiaan JavaScript 这段 if...else 有优雅的写法吗?
通义灵码来了:
function onSortChange({ order, prop }) {
// 使用映射对象来简化条件判断逻辑
const sortOrders = {
'thisYearIncome': { descending: 1, ascending: 2 },
'lastYearIncome': { descending: 3, ascending: 4 },
'rate': { descending: 5, ascending: 6 },
};

try {
// 检查 prop 是否存在于映射对象中
if (!sortOrders.hasOwnProperty(prop)) {
throw new Error(`Invalid property: ${prop}`);
}

// 检查 order 是否有效
if (!sortOrders[prop].hasOwnProperty(order)) {
throw new Error(`Invalid order: ${order}`);
}

// 直接通过映射对象获取 sortType
const sortType = sortOrders[prop][order];

// 调用 fetchData 方法更新数据
this.fetchData(sortType);
} catch (error) {
console.error('Error in onSortChange:', error.message);
// 可以在这里添加额外的错误处理,例如通知用户或记录日志
}
}
早点来好了,现在岁数大了没法跑,其实布嘎腰子,出去就当旅游加工作挺好,还管吃住
About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   981 Online   Highest 6679   ·     Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 19ms · UTC 21:47 · PVG 05:47 · LAX 14:47 · JFK 17:47
♥ Do have faith in what you're doing.