【fix ESLint】JAreaLinkage、JData、JInput、views/account/center/Index

This commit is contained in:
zhaoxiao
2023-03-07 17:20:42 +08:00
parent 6d2689436e
commit 8775331948
4 changed files with 15 additions and 15 deletions
@@ -96,7 +96,9 @@ export default {
/** 重新加载组件 */ /** 重新加载组件 */
reload () { reload () {
this.reloading = true this.reloading = true
this.$nextTick(() => this.reloading = false) this.$nextTick(() => {
this.reloading = false
})
}, },
/** 通过 value 反推 options */ /** 通过 value 反推 options */
@@ -149,6 +151,7 @@ export default {
<style lang="less" scoped> <style lang="less" scoped>
.j-area-linkage { .j-area-linkage {
height: 40px; height: 40px;
/deep/ .area-cascader-wrap .area-select { /deep/ .area-cascader-wrap .area-select {
width: 100%; width: 100%;
} }
-1
View File
@@ -107,7 +107,6 @@ export default {
computed: { computed: {
// 透传给下级组件的事件,需要排除本组件使用的change事件 // 透传给下级组件的事件,需要排除本组件使用的change事件
childListeners () { childListeners () {
const vm = this
const result = Object.assign({}, const result = Object.assign({},
this.$listeners this.$listeners
) )
+1 -2
View File
@@ -48,7 +48,6 @@ export default {
computed: { computed: {
// 透传给下级组件的事件,需要排除本组件使用的change事件 // 透传给下级组件的事件,需要排除本组件使用的change事件
childListeners () { childListeners () {
const vm = this
const result = Object.assign({}, const result = Object.assign({},
this.$listeners this.$listeners
) )
@@ -77,7 +76,7 @@ export default {
switch (this.type) { switch (this.type) {
case JINPUT_QUERY_LIKE: case JINPUT_QUERY_LIKE:
// 修复路由传参的值传送到jinput框被前后各截取了一位 #1336 // 修复路由传参的值传送到jinput框被前后各截取了一位 #1336
if (text.indexOf('*') != -1) { if (text.indexOf('*') !== -1) {
text = text.substring(1, text.length - 1) text = text.substring(1, text.length - 1)
} }
break break
+1 -2
View File
@@ -145,8 +145,7 @@ export default {
}, },
handleTagClose (removeTag) { handleTagClose (removeTag) {
const tags = this.tags.filter(tag => tag != removeTag) this.tags = this.tags.filter(tag => tag + '' !== removeTag + '')
this.tags = tags
}, },
showTagInput () { showTagInput () {