fix: 根据IDE的建议,调整definePage 宏导入顺序,放在import后面

This commit is contained in:
Mickey wu committed 2026-05-24 17:25:00 +08:00
1 parent 094864b73b
commit eae3a0c6d4
22 files changed
+2902 -3236

No files matched your search

+5 -3
View File
@@ -5,14 +5,16 @@
</template>
<script setup lang="ts">
import { ref } from "vue";
import { onLoad } from "@dcloudio/uni-app";
definePage({
name: "webview",
style: { navigationBarTitleText: "网页" },
});
import { ref } from "vue";
import { onLoad } from "@dcloudio/uni-app";
const url = ref("");
onLoad((query: any) => {