Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
phsl
/
admin
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
357a4789
authored
Apr 12, 2023
by
dhb52
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: import type { FormInstance ...} from 'element-plus'
parent
fbbf4131
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
6 additions
and
4 deletions
+6
-4
src/types/auto-imports.d.ts
+2
-0
src/views/mp/autoReply/index.vue
+1
-1
src/views/mp/draft/index.vue
+1
-1
src/views/mp/tag/TagForm.vue
+1
-1
src/views/mp/user/index.vue
+1
-1
No files found.
src/types/auto-imports.d.ts
View file @
357a4789
...
@@ -62,6 +62,8 @@ declare global {
...
@@ -62,6 +62,8 @@ declare global {
const
useRouter
:
typeof
import
(
'vue-router'
)[
'useRouter'
]
const
useRouter
:
typeof
import
(
'vue-router'
)[
'useRouter'
]
const
useSlots
:
typeof
import
(
'vue'
)[
'useSlots'
]
const
useSlots
:
typeof
import
(
'vue'
)[
'useSlots'
]
const
useTable
:
typeof
import
(
'@/hooks/web/useTable'
)[
'useTable'
]
const
useTable
:
typeof
import
(
'@/hooks/web/useTable'
)[
'useTable'
]
const
useVxeCrudSchemas
:
typeof
import
(
'@/hooks/web/useVxeCrudSchemas'
)[
'useVxeCrudSchemas'
]
const
useXTable
:
typeof
import
(
'@/hooks/web/useXTable'
)[
'useXTable'
]
const
watch
:
typeof
import
(
'vue'
)[
'watch'
]
const
watch
:
typeof
import
(
'vue'
)[
'watch'
]
const
watchEffect
:
typeof
import
(
'vue'
)[
'watchEffect'
]
const
watchEffect
:
typeof
import
(
'vue'
)[
'watchEffect'
]
const
watchPostEffect
:
typeof
import
(
'vue'
)[
'watchPostEffect'
]
const
watchPostEffect
:
typeof
import
(
'vue'
)[
'watchPostEffect'
]
...
...
src/views/mp/autoReply/index.vue
View file @
357a4789
...
@@ -188,7 +188,7 @@ import * as MpAutoReplyApi from '@/api/mp/autoReply'
...
@@ -188,7 +188,7 @@ import * as MpAutoReplyApi from '@/api/mp/autoReply'
import
{
DICT_TYPE
,
getDictOptions
}
from
'@/utils/dict'
import
{
DICT_TYPE
,
getDictOptions
}
from
'@/utils/dict'
import
{
dateFormatter
}
from
'@/utils/formatTime'
import
{
dateFormatter
}
from
'@/utils/formatTime'
import
{
ContentWrap
}
from
'@/components/ContentWrap'
import
{
ContentWrap
}
from
'@/components/ContentWrap'
import
{
TabPaneName
}
from
'element-plus'
import
type
{
TabPaneName
}
from
'element-plus'
const
message
=
useMessage
()
const
message
=
useMessage
()
...
...
src/views/mp/draft/index.vue
View file @
357a4789
...
@@ -249,7 +249,7 @@ import WxMpSelect from '@/views/mp/components/WxMpSelect.vue'
...
@@ -249,7 +249,7 @@ import WxMpSelect from '@/views/mp/components/WxMpSelect.vue'
import
{
getAccessToken
}
from
'@/utils/auth'
import
{
getAccessToken
}
from
'@/utils/auth'
import
*
as
MpDraftApi
from
'@/api/mp/draft'
import
*
as
MpDraftApi
from
'@/api/mp/draft'
import
*
as
MpFreePublishApi
from
'@/api/mp/freePublish'
import
*
as
MpFreePublishApi
from
'@/api/mp/freePublish'
import
{
UploadFiles
,
UploadProps
,
UploadRawFile
}
from
'element-plus'
import
type
{
UploadFiles
,
UploadProps
,
UploadRawFile
}
from
'element-plus'
// 可以用改本地数据模拟,避免API调用超限
// 可以用改本地数据模拟,避免API调用超限
// import drafts from './mock'
// import drafts from './mock'
...
...
src/views/mp/tag/TagForm.vue
View file @
357a4789
...
@@ -19,7 +19,7 @@
...
@@ -19,7 +19,7 @@
</template>
</template>
<
script
setup
lang=
"ts"
>
<
script
setup
lang=
"ts"
>
import
*
as
MpTagApi
from
'@/api/mp/tag'
import
*
as
MpTagApi
from
'@/api/mp/tag'
import
{
FormInstance
,
FormRules
}
from
'element-plus'
import
type
{
FormInstance
,
FormRules
}
from
'element-plus'
const
{
t
}
=
useI18n
()
// 国际化
const
{
t
}
=
useI18n
()
// 国际化
const
message
=
useMessage
()
// 消息弹窗
const
message
=
useMessage
()
// 消息弹窗
...
...
src/views/mp/user/index.vue
View file @
357a4789
...
@@ -98,7 +98,7 @@ import { dateFormatter } from '@/utils/formatTime'
...
@@ -98,7 +98,7 @@ import { dateFormatter } from '@/utils/formatTime'
import
*
as
MpUserApi
from
'@/api/mp/user'
import
*
as
MpUserApi
from
'@/api/mp/user'
import
*
as
MpTagApi
from
'@/api/mp/tag'
import
*
as
MpTagApi
from
'@/api/mp/tag'
import
WxMpSelect
from
'@/views/mp/components/WxMpSelect.vue'
import
WxMpSelect
from
'@/views/mp/components/WxMpSelect.vue'
import
{
FormInstance
}
from
'element-plus'
import
type
{
FormInstance
}
from
'element-plus'
import
UserForm
from
'./UserForm.vue'
import
UserForm
from
'./UserForm.vue'
const
message
=
useMessage
()
// 消息
const
message
=
useMessage
()
// 消息
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment