useTaonierTab 发布版本号判空改用严格相等
- `online.nextVersionNumber == null` 改为 `=== null`,去掉宽松相等 - online 为空已由 `!online` 显式挡掉,语义不变
This commit is contained in:
+1
-1
@@ -176,7 +176,7 @@ export function useTaonierTab({
|
||||
}
|
||||
const form = taonier.form;
|
||||
const online = taonier.online;
|
||||
if (!form || !online || online.nextVersionNumber == null) {
|
||||
if (!form || !online || online.nextVersionNumber === null) {
|
||||
setProgress({
|
||||
phase: 'failed',
|
||||
message: '发布失败',
|
||||
|
||||
Reference in New Issue
Block a user