perf: 去除组件默认滤镜和变换,避免模糊问题

This commit is contained in:
奔跑的面条
2022-09-26 19:40:46 +08:00
parent 18d83f161e
commit 960f3aa3cf
13 changed files with 26 additions and 26 deletions
@@ -60,7 +60,6 @@ watch(
<style lang="scss" scoped>
@include go('video') {
display: block;
mix-blend-mode: screen;
object-fit: v-bind('option.fit');
border-radius: v-bind('option.borderRadius');
}
+5 -1
View File
@@ -83,7 +83,11 @@ export interface PublicConfigType {
[FilterEnum.SKEW_Y]: number
// 动画
animations: string[]
}
},
status: {
lock: boolean,
hide: boolean,
},
filter?: string
setPosition: Function
}
+6 -1
View File
@@ -45,7 +45,7 @@ export class PublicConfigClass implements PublicConfigType {
// 基本样式
public styles = {
// 使用滤镜
filterShow: true,
filterShow: false,
// 色相
hueRotate: 0,
// 饱和度
@@ -69,6 +69,11 @@ export class PublicConfigClass implements PublicConfigType {
// 动画
animations: []
}
// 状态
public status = {
lock: false,
hide: false
}
// 请求
public request = cloneDeep(requestConfig)
// 数据过滤