问题优化

This commit is contained in:
aihe 2025-04-15 23:16:36 +08:00
parent 288d1a927a
commit 9146a07e6e
2 changed files with 8 additions and 3 deletions

View File

@ -1,9 +1,9 @@
export default (path)=> { export default (path)=> {
// return `/sta_back/images/${path}` // return `/sta_back/images/${path}`
return `https://oms.tanex56.com/static/sapp/images/${path}` return `https://oms.jtrs56.com/static/sapp/images/${path}`
} }
export const getCdnRoot = (path)=> { export const getCdnRoot = (path)=> {
// return `/static/${path}` // return `/static/${path}`
return `https://oms.tanex56.com/static/sapp/${path}` return `https://oms.jtrs56.com/static/sapp/${path}`
} }

View File

@ -13,7 +13,7 @@
</u-row> </u-row>
<view style="height: 2rpx;background-color: rgb(214, 215, 217);position: absolute;left: 0rpx;right: 0rpx;;"></view> <view style="height: 2rpx;background-color: rgb(214, 215, 217);position: absolute;left: 0rpx;right: 0rpx;;"></view>
</view> </view>
<view v-if="show" class="lgd-body" :style="`padding: 0rpx 30rpx;${contentStyle}`"> <view v-if="renderDefaultSlot || show" class="lgd-body" :style="`padding: 0rpx 30rpx;${contentStyle}`">
<slot></slot> <slot></slot>
</view> </view>
</view> </view>
@ -35,6 +35,11 @@
return false return false
} }
}, },
renderDefaultSlot: {
default () {
return false
}
},
closePosType: { closePosType: {
default () { default () {
return 'right' return 'right'