修复打包报错

This commit is contained in:
ctw committed 2025-01-24 18:52:03 +08:00
1 parent 707cba327f
commit f8efeca90f
3 files changed
+23 -37

No files matched your search

+22 -30
View File
@@ -1,48 +1,40 @@
<script setup lang="ts">
import { onLaunch, onShow, onHide } from "@dcloudio/uni-app";
onLaunch(() => {
console.log("App Launch");
});
onShow(() => {
console.log("App Show");
});
onHide(() => {
console.log("App Hide");
});
import { onLaunch, onShow, onHide } from "@dcloudio/uni-app"
onLaunch(() => {})
onShow(() => {})
onHide(() => {})
</script>
<style lang="scss">
@import "@/sheep/scss/global.scss";
@import url(@/uni_modules/tm-ui/css/remixicon.min.css);
$theme-green: #06be36;
$theme-blue: #0094ff;
$theme-gray: #999;
.botder_btn {
border: 1px solid #999;
color: #999;
font-weight: 500;
font-size: 28rpx;
border-radius: 10rpx;
padding: 8rpx 15rpx;
border: 1px solid #999;
color: #999;
font-weight: 500;
font-size: 28rpx;
border-radius: 10rpx;
padding: 8rpx 15rpx;
}
.prefix_title {
font-size: 32rpx;
font-weight: 500;
color: #333;
font-size: 32rpx;
font-weight: 500;
color: #333;
&::before {
content: '';
display: inline-block;
width: 8rpx;
height: 24rpx;
background: $theme-blue;
border-radius: 4rpx;
margin-right: 10rpx;
}
&::before {
content: "";
display: inline-block;
width: 8rpx;
height: 24rpx;
background: $theme-blue;
border-radius: 4rpx;
margin-right: 10rpx;
}
}
</style>
-6
View File
@@ -37,10 +37,7 @@ onLoad((options: any) => {
if (!isEmpty(options.id)) {
state.detailId = options.id
}
<<<<<<< HEAD
state.header = hooks.useDefaultHeader()
=======
>>>>>>> c3eaafa5d0575ebd0fa74be0180c5cfe8a9901ea
})
onShow(() => {
getDetail()
@@ -105,10 +102,7 @@ const doSubmit = async () => {
images: [],
applyReason: applyForm.reasonStr,
applyDescription: applyForm.remark,
<<<<<<< HEAD
applyPicUrls: applyPicUrls.value,
=======
>>>>>>> c3eaafa5d0575ebd0fa74be0180c5cfe8a9901ea
}
try {
uni.showLoading({ title: "申请中...", mask: false })
+1 -1
View File
@@ -1,5 +1,5 @@
<script setup lang="ts">
import { ref, reactive } from "vue"
import { reactive } from "vue"
import { onLoad, onShow } from "@dcloudio/uni-app"
import { isEmpty } from "radash"