瀏覽代碼

先屏蔽%的设定

liwei 1 年之前
父節點
當前提交
24669e0e36
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/modules/editor/components/CompUI/formItems/Size.tsx

+ 1 - 1
src/modules/editor/components/CompUI/formItems/Size.tsx

@@ -10,7 +10,7 @@ import { TipIcons } from "../../TipIcons";
 
 const selectOptions = [
   { value: "px", label: "PX", options: { step: 1 } },
-  { value: "%", label: "%", options: { step: 0.1 } },
+  // { value: "%", label: "%", options: { step: 0.1 } },
 ];
 
 export const Size = defineComponent({