Skip to content
This repository has been archived by the owner on Feb 9, 2024. It is now read-only.

專案連動行事曆 #161

Open
AranceLiu opened this issue Jan 28, 2024 · 0 comments
Open

專案連動行事曆 #161

AranceLiu opened this issue Jan 28, 2024 · 0 comments

Comments

@AranceLiu
Copy link
Collaborator

AranceLiu commented Jan 28, 2024

修改calendar_controller.js:

  1. 這邊html的class拼錯,多了一組flex-auto:
    image
<p class="truncate flex-auto">${

2.如果沒設定priority 會顯示 [object object]:
image

要修改成:

image

              <div>
                ${
                  typeof info.event.extendedProps.priority !== "object"
                    ? <div class="inline-block pr-2 mt-2 ${
                        info.event.extendedProps.priority == "Critical" ||
                        info.event.extendedProps.priority == "緊急"
                          ? "text-white"
                          : "text-gray-900"
                      } rounded-md ${info.event.extendedProps.priority_color}";>
                    <i class="ml-1 mr-1 fa-solid fa-angles-up"></i>${
                      info.event.extendedProps.priority
                    }
                    </div>
                    : ""
                }
                </div>
              </div>
  1. 還要修改:更新後,字會改成英文,顏色會不見:
    但還在找原因
image
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant