chore: fix 'npm run lint' problem (#987)

This commit is contained in:
XieZongChen 2021-08-26 22:56:11 -05:00 committed by GitHub
parent aa029a61d7
commit c032a56e19
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 11 additions and 11 deletions

View File

@ -106,7 +106,7 @@
"prettier": "^2.2.1",
"rimraf": "^3.0.2",
"superagent": "^6.1.0",
"typescript": "^4.3.2",
"typescript": "~4.3.0",
"vite": "^2.1.3",
"vue": "^3.2.1",
"vue-router": "^4.0.5"

View File

@ -21,10 +21,10 @@ import { defineComponent } from 'vue'
// content
export default defineComponent({
setup() {
setup () {
const message = useMessage()
return {
warning() {
warning () {
message.warning('...')
}
}

View File

@ -12,13 +12,13 @@ import { h, ref } from 'vue'
const Buttons = {
emits: ['changePlacement'],
setup() {
setup () {
const message = useMessage()
return {
message
}
},
render() {
render () {
return [
h(
NButton,
@ -106,7 +106,7 @@ export default {
components: {
Buttons
},
setup() {
setup () {
const placement = ref('top')
return {
placement,

View File

@ -21,10 +21,10 @@ import { defineComponent } from 'vue'
// content
export default defineComponent({
setup() {
setup () {
const message = useMessage()
return {
warning() {
warning () {
message.warning('...')
}
}

View File

@ -12,13 +12,13 @@ import { h, ref } from 'vue'
const Buttons = {
emits: ['changePlacement'],
setup() {
setup () {
const message = useMessage()
return {
message
}
},
render() {
render () {
return [
h(
NButton,
@ -106,7 +106,7 @@ export default {
components: {
Buttons
},
setup() {
setup () {
const placement = ref('top')
return {
placement,