mirror of
https://github.com/the1812/Bilibili-Evolved.git
synced 2025-11-04 21:22:45 +08:00
Add Vue.extend
Signed-off-by: timongh <46739861+timongh@users.noreply.github.com>
This commit is contained in:
parent
d5b40b04bc
commit
a5cc1143b8
@ -39,7 +39,7 @@ import { DownloadPackage } from '@/core/download'
|
||||
import { LiveDanmaku } from '@/components/live/live-socket'
|
||||
import { VIcon, VButton } from '@/ui'
|
||||
|
||||
export default {
|
||||
export default Vue.extend({
|
||||
components: {
|
||||
VIcon,
|
||||
VButton,
|
||||
@ -115,7 +115,7 @@ export default {
|
||||
console.log(xml)
|
||||
},
|
||||
},
|
||||
}
|
||||
})
|
||||
</script>
|
||||
|
||||
<style lang="scss" scoped>
|
||||
|
||||
@ -134,7 +134,7 @@ import { watchlaterList, toggleWatchlater } from '@/components/video/watchlater'
|
||||
祖 传 代 码
|
||||
============
|
||||
*/
|
||||
export default {
|
||||
export default Vue.extend({
|
||||
// props: ['data', 'orientation'],
|
||||
components: {
|
||||
DpiImage,
|
||||
@ -196,7 +196,7 @@ export default {
|
||||
methods: {
|
||||
toggleWatchlater,
|
||||
},
|
||||
}
|
||||
})
|
||||
</script>
|
||||
|
||||
<style lang="scss" scoped>
|
||||
|
||||
@ -65,7 +65,7 @@ function valueChange(newValue: unknown) {
|
||||
settings.options[this.name] = newValue
|
||||
this.value = newValue
|
||||
}
|
||||
export default {
|
||||
export default Vue.extend({
|
||||
name: 'ComponentOption',
|
||||
components: {
|
||||
SwitchOptions,
|
||||
@ -156,7 +156,7 @@ export default {
|
||||
debounceValueChange: lodash.debounce(valueChange, 200),
|
||||
valueChange,
|
||||
},
|
||||
}
|
||||
})
|
||||
</script>
|
||||
|
||||
<style lang="scss" scoped>
|
||||
|
||||
@ -47,7 +47,7 @@
|
||||
import { VPopup, VIcon } from '@/ui'
|
||||
import { externalApis } from '@/core/core-apis'
|
||||
|
||||
export default {
|
||||
export default Vue.extend({
|
||||
name: 'SettingsContainer',
|
||||
components: {
|
||||
VPopup,
|
||||
@ -87,7 +87,7 @@ export default {
|
||||
}
|
||||
},
|
||||
},
|
||||
}
|
||||
})
|
||||
</script>
|
||||
|
||||
<style lang="scss">
|
||||
|
||||
@ -84,7 +84,7 @@ import { getDescriptionText } from '../description'
|
||||
import { SearchBarActionContext, searchBarActions } from './search-bar-actions'
|
||||
|
||||
const defaultSearchFilter = (items: ComponentMetadata[]) => items
|
||||
export default {
|
||||
export default Vue.extend({
|
||||
name: 'SettingsPanel',
|
||||
components: {
|
||||
VIcon,
|
||||
@ -253,7 +253,7 @@ export default {
|
||||
this.renderedComponents = this.searchFilter(internalFiltered)
|
||||
},
|
||||
},
|
||||
}
|
||||
})
|
||||
</script>
|
||||
|
||||
<style lang="scss">
|
||||
|
||||
Loading…
Reference in New Issue
Block a user