mirror of
https://gitee.com/dromara/go-view.git
synced 2026-05-30 00:00:05 +08:00
feat: 更新Type类型
This commit is contained in:
@@ -90,8 +90,8 @@ export const useDataListInit = () => {
|
||||
id: id,
|
||||
// [-1未发布, 1发布]
|
||||
state: !release ? 1 : -1
|
||||
}) as unknown as MyResponseType
|
||||
if (res.code === ResultEnum.SUCCESS) {
|
||||
})
|
||||
if (res && res.code === ResultEnum.SUCCESS) {
|
||||
list.value = []
|
||||
fetchList()
|
||||
// 发布 -> 未发布
|
||||
|
||||
+2
-2
@@ -96,8 +96,8 @@ const btnHandle = async (key: string) => {
|
||||
remarks: null,
|
||||
// 图片地址
|
||||
indexImage: null,
|
||||
}) as unknown as MyResponseType
|
||||
if(res.code === ResultEnum.SUCCESS) {
|
||||
})
|
||||
if(res && res.code === ResultEnum.SUCCESS) {
|
||||
window['$message'].success(window['$t']('project.create_success'))
|
||||
|
||||
const { id } = res.data
|
||||
|
||||
Reference in New Issue
Block a user