有没有办法在属性窗口中获取文件的磁盘大小:
我试过了:
(在批处理文件中)
echo %~z1
Run Code Online (Sandbox Code Playgroud)
,
for %i in (TestFile.txt) do echo %~zi
Run Code Online (Sandbox Code Playgroud)
,
dir
Run Code Online (Sandbox Code Playgroud)
但它们只返回文件的大小.
有没有办法像在属性窗口中看到的那样获得"磁盘大小"?
我正在创建一个网页,在调试时我收到以下警告。
Unexpected value NaN parsing y1 attribute. markup.js:356:19
Unexpected value NaN parsing y2 attribute. markup.js:356:19
Unexpected value NaN parsing x1 attribute. markup.js:356:19
Unexpected value NaN parsing x2 attribute. markup.js:356:19
Run Code Online (Sandbox Code Playgroud)
奇怪的是,我的 html 文件没有 markup.js 文件。不知道是什么。我将其缩小到导致这些问题的元素:
Unexpected value NaN parsing y1 attribute. markup.js:356:19
Unexpected value NaN parsing y2 attribute. markup.js:356:19
Unexpected value NaN parsing x1 attribute. markup.js:356:19
Unexpected value NaN parsing x2 attribute. markup.js:356:19
Run Code Online (Sandbox Code Playgroud)
不仅如此,每次我将鼠标悬停在检查器中的元素上时,都会出现更多警告。
我使用的是 Firefox 70.0.1(64 位)。这个问题在谷歌浏览器中似乎不会发生。
预期的行为当然是不应该有任何警告。
这些消息非常烦人,我不想关闭警告。有人能告诉我这里发生了什么吗?