rabin 2 年之前
父节点
当前提交
5645134496
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/Database.php

+ 1 - 1
src/Database.php

@@ -4826,7 +4826,7 @@ class Database
     private function spec($id, $config)
     {
         $spec_type = Dever::input('update_spec_type');
-        if ($spec_type && $spec_type > 1) {
+        if ($spec_type && $spec_type > 0) {
             if (isset($config['manage']['sku'])) {
                 $spec_table = $config['manage']['sku']['spec'];
                 $sku_table = $config['manage']['sku']['sku'];