Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Issue
目前題目沒有分類,不知道自己在刷什麼類型的題目。
Solution
New Feature 1
增加題目分類
New Feature 2
根目錄增加
retrieveTopicTag.js
檔,目前設定執行它的話會去找你原本寫的 data.json 檔,然後打 Leetcode 官網的 API,去把每題的分類一一找出來;找完之後輸出到public/localData.json
。我現在把你的
src/views/ProblemRating.vue
中的 url 變數暫時改成 localData.json;vue.config.js
中的 proxy 加了一個 localData.json,然後暫時指向部署好的專案根目錄,你再看看你要怎麼修改~我沒有很瞭解你的想法😆TO-DO
本來想做但是本人的 vue 已經忘得7788,也沒用過 Element-UI,所以就放在這裡,等面試完後再看看要不要做吧(或你也可以做🤪)