refactor: vue3.3 defineOptions

This commit is contained in:
shizhong
2023-09-22 12:49:25 +08:00
parent 6ec2ee8af4
commit 20f483f561
189 changed files with 589 additions and 187 deletions

View File

@ -59,7 +59,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'
@ -72,6 +72,8 @@ import {
} from './components/'
// import drafts from './mock' // 可以用改本地数据模拟避免API调用超限
defineOptions({ name: 'MpDraft' })
const message = useMessage() // 消息
const accountId = ref(-1)