removed uneeded params
This commit is contained in:
parent
2a1a5393dd
commit
6ca9d89b8d
1 changed files with 0 additions and 22 deletions
|
|
@ -11,20 +11,6 @@ const name = ref('')
|
||||||
|
|
||||||
// surugaya block
|
// surugaya block
|
||||||
const surugayaLink = ref('')
|
const surugayaLink = ref('')
|
||||||
const checkCookie = ref(true)
|
|
||||||
const surugayaDefaultCookieValues = ref('safe_search_expired=2;safe_search_option=3')
|
|
||||||
const surugayaCustomCookieValues = ref('')
|
|
||||||
|
|
||||||
const surugayaCookieValue = computed({
|
|
||||||
get() {
|
|
||||||
return checkCookie.value ? surugayaDefaultCookieValues.value : surugayaCustomCookieValues.value
|
|
||||||
},
|
|
||||||
set(newValue) {
|
|
||||||
if (!checkCookie.value) {
|
|
||||||
surugayaCustomCookieValues.value = newValue
|
|
||||||
}
|
|
||||||
},
|
|
||||||
})
|
|
||||||
|
|
||||||
// mandarake block
|
// mandarake block
|
||||||
const checkAutoComplete = ref(true)
|
const checkAutoComplete = ref(true)
|
||||||
|
|
@ -55,7 +41,6 @@ const payload = computed(() => {
|
||||||
link: mandarakeResultLink.value,
|
link: mandarakeResultLink.value,
|
||||||
},
|
},
|
||||||
origin_surugaya: {
|
origin_surugaya: {
|
||||||
cookie_values: surugayaCookieValue.value,
|
|
||||||
link: surugayaLink.value,
|
link: surugayaLink.value,
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|
@ -84,13 +69,6 @@ const addNewMerch = async () => {
|
||||||
<div>
|
<div>
|
||||||
<h3>Surugaya</h3>
|
<h3>Surugaya</h3>
|
||||||
<n-input class="mt-10" clearable placeholder="Link" v-model:value="surugayaLink" />
|
<n-input class="mt-10" clearable placeholder="Link" v-model:value="surugayaLink" />
|
||||||
<n-input
|
|
||||||
class="mt-10"
|
|
||||||
clearable
|
|
||||||
placeholder="Cookie values"
|
|
||||||
v-model:value="surugayaCookieValue"
|
|
||||||
/>
|
|
||||||
<n-checkbox v-model:checked="checkCookie">Default values</n-checkbox>
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div>
|
<div>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue