瀏覽代碼

左侧加mr

lifanagju_citu 1 年之前
父節點
當前提交
9a9b63541d
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/views/resume/components/educationExp.vue

+ 1 - 1
src/views/resume/components/educationExp.vue

@@ -191,7 +191,7 @@ const items = ref([
 
 // 左侧加mr
 formItems.value.options.forEach((_e, index) => {
-  if ((index + 2) % 2 === 0) _e.flexStyle = 'mr-3'
+  if ((index + 2) % 2 === 0 && !(!_e.col || _e.col >= 12)) _e.flexStyle = 'mr-3'
 })
 
 // const items = ref({