feat:添加升级逻辑

This commit is contained in:
zyronon
2025-08-01 02:37:04 +08:00
parent 6c1b0a7f02
commit 3426807912
3 changed files with 104 additions and 16 deletions

View File

@@ -1,7 +1,8 @@
<script setup lang="ts">
import {splitEnArticle2} from "@/hooks/article.ts";
import test from '../../test/test.vue'
function test() {
function test1() {
splitEnArticle2(
`While it is yet to be seen what direction the second Trump administration will take globally in its China policy, VOA traveled to the main island of Mahe in Seychelles to look at how China and the U.S. have impacted the country, and how each is fairing in that competition for influence there.
`)
@@ -18,7 +19,8 @@ function test2() {
<template>
<div class="word flex center h-screen ">
<El-Button @click="test">test</El-Button>
<El-Button @click="test1">test1</El-Button>
<El-Button @click="test2">test2</El-Button>
<test/>
</div>
</template>

File diff suppressed because one or more lines are too long