【modify】使用ESLint格式化代码

This commit is contained in:
zer0Black
2023-03-01 09:33:58 +08:00
parent 694855ae8b
commit 63369b8b87
400 changed files with 42942 additions and 43132 deletions
@@ -51,45 +51,45 @@
</template>
<script>
import { httpAction } from '@/api/manage'
import { httpAction } from '@/api/manage'
export default {
name: "SuperQueryModal",
data () {
return {
visible: false,
queryParamsModel: [{},{}],
confirmLoading: false
}
export default {
name: 'SuperQueryModal',
data () {
return {
visible: false,
queryParamsModel: [{}, {}],
confirmLoading: false
}
},
created () {
},
methods: {
show () {
this.visible = true
},
created () {
close () {
this.$emit('close')
this.visible = false
},
methods: {
show () {
this.visible = true;
},
close () {
this.$emit('close');
this.visible = false;
},
handleOk () {
console.log(this.queryParamsModel)
// 子组件中触发父组件方法ee并传值cc12345
this.$emit('handleSuperQuery', this.queryParamsModel)
},
handleCancel () {
this.close()
},
handleAdd () {
this.queryParamsModel.push({});
},
handleDel (index) {
console.log(index)
this.queryParamsModel.splice(index,1);
}
handleOk () {
console.log(this.queryParamsModel)
// 子组件中触发父组件方法ee并传值cc12345
this.$emit('handleSuperQuery', this.queryParamsModel)
},
handleCancel () {
this.close()
},
handleAdd () {
this.queryParamsModel.push({})
},
handleDel (index) {
console.log(index)
this.queryParamsModel.splice(index, 1)
}
}
}
</script>
<style scoped>
</style>
</style>