瀏覽代碼

edit

ctt_dev
chutingting 1 年之前
父節點
當前提交
8141254955
共有 2 個檔案被更改,包括 9 行新增6 行删除
  1. +0
    -6
      src/types/auto-imports.d.ts
  2. +9
    -0
      src/views/createVideo/index.vue

+ 0
- 6
src/types/auto-imports.d.ts 查看文件

@@ -2,9 +2,6 @@
export {}
declare global {
const EffectScope: typeof import('vue')['EffectScope']
const ElForm: typeof import('element-plus/es')['ElForm']
const ElMessage: typeof import('element-plus/es')['ElMessage']
const ElMessageBox: typeof import('element-plus/es')['ElMessageBox']
const asyncComputed: typeof import('@vueuse/core')['asyncComputed']
const autoResetRef: typeof import('@vueuse/core')['autoResetRef']
const computed: typeof import('vue')['computed']
@@ -271,9 +268,6 @@ import { UnwrapRef } from 'vue'
declare module 'vue' {
interface ComponentCustomProperties {
readonly EffectScope: UnwrapRef<typeof import('vue')['EffectScope']>
readonly ElForm: UnwrapRef<typeof import('element-plus/es')['ElForm']>
readonly ElMessage: UnwrapRef<typeof import('element-plus/es')['ElMessage']>
readonly ElMessageBox: UnwrapRef<typeof import('element-plus/es')['ElMessageBox']>
readonly asyncComputed: UnwrapRef<typeof import('@vueuse/core')['asyncComputed']>
readonly autoResetRef: UnwrapRef<typeof import('@vueuse/core')['autoResetRef']>
readonly computed: UnwrapRef<typeof import('vue')['computed']>


+ 9
- 0
src/views/createVideo/index.vue 查看文件

@@ -1654,12 +1654,21 @@ async function createVideo() {
// 去充值
if (res2.code === 64001) {
// router.push("/myStore");
ElMessageBox.confirm(
'当前金币不足,是否去充值?',
'提示', {
confirmButtonText: 'OK',
cancelButtonText: 'Cancel',
type: 'warning',
}
).then(() => {
router.push({
path: "/myStore",
query: {
tag: 'createVideo'
},
});
}).catch(() => {})
return
}
ElMessage.success(


Loading…
取消
儲存