refactor: vue3.3 defineOptions

This commit is contained in:
xingyu
2023-06-21 19:14:34 +08:00
parent a5c7c886ee
commit 922f83d99c
259 changed files with 955 additions and 381 deletions

View File

@ -61,7 +61,7 @@
</el-dialog>
</template>
<script setup lang="ts" name="MpDraft">
<script setup lang="ts">
import WxAccountSelect from '@/views/mp/components/wx-account-select'
import * as MpDraftApi from '@/api/mp/draft'
import * as MpFreePublishApi from '@/api/mp/freePublish'
@ -74,6 +74,8 @@ import {
} from './components/'
// import drafts from './mock' // 可以用改本地数据模拟避免API调用超限
defineOptions({ name: 'MpDraft' })
const message = useMessage() // 消息
const accountId = ref(-1)