Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add DictionaryTag #167

Merged
merged 12 commits into from
Jan 9, 2024
Merged

feat: add DictionaryTag #167

merged 12 commits into from
Jan 9, 2024

Conversation

nullcache
Copy link
Contributor

No description provided.

cacheKey: '1',
cacheTime: 1000, // 1 second
onSuccess: (data) => {
console.log(1);
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

这个 console 没删

options.value = dictData.data;
}
} else {
useRequest(
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

为了一个组件用添加一个依赖不太好吧。。。 整合到 axios 里吧

Copy link
Owner

@suyuan32 suyuan32 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

一定要引入 vue request 嘛,看下能不能用现有的改下

Copy link
Owner

@suyuan32 suyuan32 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

嗯,看起来没问题

@suyuan32 suyuan32 changed the base branch from master to dev January 9, 2024 11:05
@suyuan32 suyuan32 merged commit a612802 into suyuan32:dev Jan 9, 2024
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants