still on conflict resolve, removed unused vairiables

This commit is contained in:
Peter Olu 2022-07-09 16:18:34 -07:00
parent f18e5c7149
commit 05ca4ccb13
3 changed files with 5 additions and 4 deletions

View File

@ -45,7 +45,7 @@ function scrollStop(callback: { (): void; (): void }, refresh = 66) {
let scrollListener: number; let scrollListener: number;
window.addEventListener( window.addEventListener(
"scroll", "scroll",
function (event) { function () {
isScrolling = true; isScrolling = true;
window.clearTimeout(scrollListener); window.clearTimeout(scrollListener);
scrollListener = window.setTimeout(callback, refresh); scrollListener = window.setTimeout(callback, refresh);
@ -98,7 +98,7 @@ export default defineComponent({
} }
}); });
}); });
document.querySelectorAll(".item").forEach((element, index) => { document.querySelectorAll(".item").forEach((element) => {
arrayOfItems.value.push(element); arrayOfItems.value.push(element);
observer.observe(element); observer.observe(element);
}); });

View File

@ -37,7 +37,7 @@ limitations under the License. -->
</el-select> </el-select>
</template> </template>
<script lang="ts" setup> <script lang="ts" setup>
import { ref, watch, onMounted } from "vue"; import { ref, watch } from "vue";
import type { PropType } from "vue"; import type { PropType } from "vue";
interface Option { interface Option {
@ -95,6 +95,7 @@ watch(
.el-input__inner { .el-input__inner {
border-radius: unset !important; border-radius: unset !important;
} }
.el-input.el-input--small.el-input--suffix { .el-input.el-input--small.el-input--suffix {
height: 18px !important; height: 18px !important;
} }

View File

@ -132,7 +132,7 @@ limitations under the License. -->
</div> </div>
</template> </template>
<script lang="ts" setup> <script lang="ts" setup>
import { ref, reactive, watch, computed } from "vue"; import { ref, reactive, watch } from "vue";
import { useI18n } from "vue-i18n"; import { useI18n } from "vue-i18n";
import { Option } from "@/types/app"; import { Option } from "@/types/app";
import { Status } from "../../data"; import { Status } from "../../data";