摘要:
.js是javascript文件的扩展名,例如main.js。 .jsx是javascript文件并表明使用了JSX语法。 .ts是typescript文件的扩展名 .tsx表明是typescript文件并使用了JSX语法。 https://zhuanlan.zhihu.com/p/43538518 阅读全文
posted @ 2023-06-15 21:43
hjswlqd
阅读(504)
评论(0)
推荐(0)
摘要:
可以计算设计稿,图片的宽高比例,再设置div的宽高 阅读全文
posted @ 2023-06-15 21:33
hjswlqd
阅读(7)
评论(0)
推荐(0)
摘要:
解决办法是 使用for循环代替filter方法 阅读全文
posted @ 2023-06-15 20:40
hjswlqd
阅读(296)
评论(0)
推荐(0)
摘要:
参考文档 https://github.com/vuejs/composition-api#readme ref属性不支持函数写法 阅读全文
posted @ 2023-06-15 20:38
hjswlqd
阅读(21)
评论(0)
推荐(0)
摘要:
function download(){ const link = document.createElement('a') link.href = window.location.origin + `/static/doc/${this.type}.docx` + '?auth=' + getTok 阅读全文
posted @ 2023-06-15 15:49
hjswlqd
阅读(43)
评论(0)
推荐(0)

浙公网安备 33010602011771号