A week went again

本周作者参加了团队建设活动并体验了积极的工作氛围;同时遇到了论文发表、同事离职及个人工作失误等问题,通过努力解决了一些技术难题。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

A week went again.
This 7 days(8 days, more exactly) ocurrs some things affect me deeply.

(1) Last Saturday: Team building to aerospace city.
(2) Monday:        The message about my paper can not make public for some reasons
(3) WednesDay:     Delightness to know how to deploy the ear from command line
(4) Thursday:      Dong's Leaving and the message about Lin's Leaving next week
(5) Friday:        My file bugs which almost cause the whole team down.
(6) Friday         Evening: A party in Guo's home

Yes, you see. This is what happens this week.

(1) About the team building 
    
    This is the first time to attend a team building as a worker. I don't like to attend the team building when I was a student for some reason. Maybe I don't like the opposed atmosphere between teaming building and working time. But I like to attend the skater's
party     for they are always the same -- the positive spirit and no rivalry. 
   When we arrived the gate of the aerospace city, the Manager said to all of us, "If
you met some troubles, you could say you are a IBMer." Yes, I want to be a real IBMer. We came to the command and control center of "ShenZhou 6".
    To my surprising, I really feel I am proud of being Chinese after saw the introduction
film about the whole system. And then we go swimming, bowling, playing Sinuoke and pingpang seperately. And some of them I don't even hear of, like "Shahu Ball".
    After that we are all exhaustion. And go to the aerospace heros' resturant to have
supper. I reall love this team building and because I am a customer as IBMer. I began to love IBM more and more, for the glad atmosphere, positive spirit.
   
(2) About the paper
      I really don't want to make Mr. Liu unhappy, but it is true. My mentor told me that
the paper's space fee had not been delivered to the publishing house for my sudden left. I didn't want to do that, but I had no choice. My mentor told me that I might pay by myself if I want to publish and he had no capital for this. I don't want to do that, for it maybe make Mr.Liu more angry with me and it is not a small number. This is my first paper, you see, this is the result and it is the cost of my coming as an Intern.

(3) About the tips of deploying
 I really don't know how to deploy the ear to WAS and I googled it and baidued it
for some times, but I can't find a good result. I must call Yellow for help. Yes, Yellow gave me a buddy who is familiar with WAS. And he gave a favor for telling me how to deploy it for brief. And I try to call the exe for ant file and it came to a good result finally.

(4) About the leaving
 Doing has left CDL and Lin said she would left next week. This message made me
really unhappy for hating looking the picture of leaving and it would turn my stomach again on my leaving several month later. Yes, I hate leaving, the scene of leaving. What is more important is friends flash across my heaven again and again.

(5) About the bugs
 The bugs I made almost cause the whole team down! It is a logic error in the ISMP file and I send it to Yellow. Compilinig error caused the build failed for the first time, but yellow didn't find it. Logic error caused the build cannot install on a machine if he modify the default installation address. Lu began to complain and then Lin, Guo...Finally it came to Wu's turn. My God...

(6) About the party

    A party hold in Guo's family. 10 colleges took part in the wonderful party. And I really love it.(To be continued...)

And this is the whole story about this week. Maybe I must work harder for this chance does not come as easily as I thought.

### 错误分析 在 Vue3 和 Element Plus 项目中遇到 `Uncaught (in promise) TypeError: t2.isoWeek is not a function` 的错误提示表明尝试调用的方法 `.isoWeek()` 并不存在于当前对象上。这通常是因为使用的日期处理库版本不兼容或是未正确引入所需方法。 ### 解决方案 为了修复此问题,建议采用 Moment.js 或者更现代的替代品如 Luxon 来提供缺失的功能。Luxon 是由 Moment.js 团队维护的一个改进版日期时间库,支持 ISO8601 周历标准并提供了更好的 API 设计[^2]。 如果决定继续使用 Moment.js,则需确认已安装最新稳定版本,并确保代码中包含了 moment-weekday 插件来扩展 .isoWeek() 方法的支持: ```bash npm install moment moment-weekday ``` 接着,在 JavaScript 文件顶部导入这些模块: ```javascript import moment from 'moment'; require('moment/weekdays'); ``` 对于希望迁移到更加轻量级和性能优化的选择——Day.js 用户来说,可以利用其插件机制加载 isoWeek 功能: ```bash npm install dayjs npm install @types/dayjs --save-dev npm install dayjs-ext -S ``` 随后可以在应用入口文件里配置所需的扩展功能: ```typescript import { defineConfig } from 'umi'; export default defineConfig({ // ... plugins: [ require.resolve('dayjs-ext/plugin/advancedFormat'), require.resolve('dayjs-ext/plugin/isSameOrBefore'), require.resolve('dayjs-ext/plugin/isoWeek'), // 添加这一行以启用ISO周计算 ], }); ``` 最后一种推荐的方式是切换到 Luxon 库来进行日期操作,它自带完整的国际化特性以及对 ISO8601 的全面支持,无需额外安装其他依赖项即可实现相同的效果。 ```typescript import luxon from "luxon"; const now = luxon.DateTime.now(); console.log(now.weekNumber); // 输出当前年份中的第几周 ``` 通过上述任一途径调整应用程序所依赖的时间处理工具链,应该能够有效消除原始报错信息并恢复正常运行逻辑。
评论 2
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值