sync:订单结果页添加支付询问对话框,版本获取方法修改,更新README https://gitee.com/sheepjs/shopro-uniapp/commit/024f311235266334063d25b7fec604b22e613ea9
This commit is contained in:
@@ -1,12 +1,14 @@
|
||||
import packageInfo from '@/package.json';
|
||||
|
||||
const { version } = packageInfo;
|
||||
|
||||
// 开发环境配置
|
||||
export let baseUrl;
|
||||
export let version;
|
||||
if (process.env.NODE_ENV === 'development') {
|
||||
baseUrl = import.meta.env.SHOPRO_DEV_BASE_URL;
|
||||
} else {
|
||||
baseUrl = import.meta.env.SHOPRO_BASE_URL;
|
||||
}
|
||||
version = import.meta.env.SHOPRO_VERSION;
|
||||
if (typeof baseUrl === 'undefined') {
|
||||
console.error('请检查.env配置文件是否存在');
|
||||
} else {
|
||||
|
||||
@@ -25,6 +25,7 @@
|
||||
<!-- #ifdef APP-PLUS -->
|
||||
<dom-video
|
||||
ref="domVideo"
|
||||
:id="`sVideo${uid}`"
|
||||
class="radius"
|
||||
:style="[{ height: height + 'rpx' }]"
|
||||
object-fit="contain"
|
||||
@@ -38,6 +39,7 @@
|
||||
@play="play"
|
||||
@pause="pause"
|
||||
@ended="end"
|
||||
:poster="poster"
|
||||
/>
|
||||
<!-- #endif -->
|
||||
<!-- <view
|
||||
|
||||
Reference in New Issue
Block a user