- 新增上传分类归一化处理,统一白名单校验规则 - 新增COS存储记录同步逻辑 - 新增分享功能支持,配置多页面分享参数 - 新增订单案例分享按钮 - 新增订单自动校验和回收命令 - 新增测试脚本和图片同步脚本 - 优化后台上传分类配置,统一分类映射
40 行
826 B
Vue
40 行
826 B
Vue
<template>
|
|
<view class="master-workbench-page">
|
|
<MasterWorkbenchView ref="workbenchRef" />
|
|
<YjyfMasterTabBar :current="3" />
|
|
</view>
|
|
</template>
|
|
|
|
<script setup>
|
|
import { ref } from 'vue';
|
|
import { onShow, onPullDownRefresh } from '@dcloudio/uni-app';
|
|
import MasterWorkbenchView from '@/components/master/MasterWorkbenchView.vue';
|
|
import YjyfMasterTabBar from '@/components/YjyfMasterTabBar.vue';
|
|
|
|
const workbenchRef = ref(null);
|
|
|
|
onShow(() => {
|
|
if (workbenchRef.value?.load) {
|
|
workbenchRef.value.load();
|
|
}
|
|
});
|
|
|
|
onPullDownRefresh(async () => {
|
|
try {
|
|
if (workbenchRef.value?.load) {
|
|
await workbenchRef.value.load();
|
|
}
|
|
} catch (e) {
|
|
} finally {
|
|
uni.stopPullDownRefresh();
|
|
}
|
|
});
|
|
</script>
|
|
|
|
<style scoped>
|
|
.master-workbench-page {
|
|
min-height: 100vh;
|
|
background: #F5F6F8;
|
|
}
|
|
</style>
|