refactor(preview): 移除强制star检测
This commit is contained in:
parent
52bf92caa1
commit
513bd914b8
@ -40,7 +40,7 @@ async function handleSubmit() {
|
||||
}
|
||||
|
||||
const codeShow = ref(false);
|
||||
const starred = ref<boolean>(false);
|
||||
const starred = ref<boolean>(true);
|
||||
|
||||
const validateCode = async () => {
|
||||
if (!starred.value) {
|
||||
@ -194,6 +194,7 @@ onUnmounted(() => {
|
||||
});
|
||||
|
||||
async function init() {
|
||||
if (starred.value) return;
|
||||
await oauth2();
|
||||
await userStarred();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user