File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11{
22 "name" : " neko-astro-blog" ,
33 "type" : " module" ,
4- "version" : " 2.25.20 " ,
4+ "version" : " 2.26.0 " ,
55 "private" : true ,
66 "engines" : {
77 "node" : " >=20"
Original file line number Diff line number Diff line change @@ -146,7 +146,7 @@ EDSL,即「嵌入式 DSL」。这种方式的好处是,开发者不需要编
146146
147147import Canvas from " ./_Canvas"
148148
149- <Canvas client :idle />
149+ <Canvas client :only = " react " />
150150
151151你需要编写一个循环,计算 $x$ 对应的 $y$ 值,注意可能需要进行类型转换(比如从浮点数转为整型),然后调用 ` SetPixel ` 在窗口的对应位置画点。代码中已经导入了所需的 Windows API 函数,可以直接调用。仓颉调用 C 函数时,通常需要将调用代码放在一个用 ` @ccall{:cj} ` 修饰的代码块中,这是一种语法标记,提示开发者这里可能涉及不安全的内存操作,并指导编译器进行一些检查。
152152
Original file line number Diff line number Diff line change @@ -119,7 +119,7 @@ nirume saikan
119119 />
120120 <h2 >视频</h2 >
121121 <Bilibili
122- client:load
122+ client:only = " react "
123123 autoplay ={ false }
124124 thumbnail =" //user-images.githubusercontent.com/20166026/235231349-0de83eee-d487-4b10-85c3-f7541a2fb340.jpg"
125125 av ={ 543714392 }
Original file line number Diff line number Diff line change @@ -126,7 +126,7 @@ FireShip 的视频质量一如既往地高。看下来还是 Prisma 最好。去
126126
127127---
128128
129- <Bilibili client :load bv = " BV1PV411T7yG" thumbnail = " https://raw.githubusercontent.com/OverflowCat/blog/test_a/imgs/weekly/0x01/少女周末旅行.webp" />
129+ <Bilibili client :only = " react " bv = " BV1PV411T7yG" thumbnail = " https://raw.githubusercontent.com/OverflowCat/blog/test_a/imgs/weekly/0x01/少女周末旅行.webp" />
130130
131131<p lang = " ja" >作りましょう 作りましょう<br />
132132あなたと私の世界をさぁ作りましょう<br />
Original file line number Diff line number Diff line change @@ -122,7 +122,7 @@ import Instagram from "@/components/social/Instagram.astro";
122122
123123### 只合把清浊分辨
124124
125- <Bilibili client :load thumbnail = " https://user-images.githubusercontent.com/20166026/256911902-fd4f8ad9-4059-481f-8829-faa0255c68f7.jpg" bv = " BV1Nz4y1x7Aa" />
125+ <Bilibili client :only = " react " thumbnail = " https://user-images.githubusercontent.com/20166026/256911902-fd4f8ad9-4059-481f-8829-faa0255c68f7.jpg" bv = " BV1Nz4y1x7Aa" />
126126
127127茅塞顿开:通过声音的波形图可以发现,汉语中爆破音的送气和不送气是通过音节前是否有一小段气流来区分的。而日语中,清浊音是通过音节前是否有一小段声带震动来区分的。我们可以通过与上一个元音前是否断开来区分清浊音:** 如果是浊音,那么上一个元音会和浊音连在一起;如果是清音,那么上一个元音后必然会断开,相当于一个很短的促音「っ」。**
128128
Original file line number Diff line number Diff line change @@ -107,7 +107,7 @@ chm 什么的。下面是其中一天的歪卜抠顶的对话记录:
107107
108108import Chat from " @/components/carbon/Chat" ;
109109
110- <Chat client :visible />
110+ <Chat client :only = " react " />
111111
112112### 发布
113113
You can’t perform that action at this time.
0 commit comments