交互方式修改
This commit is contained in:
@@ -13,6 +13,7 @@ const showTip = ref(false);
|
||||
const showTip2 = ref(false);
|
||||
const groups = ref([]);
|
||||
const data = ref({});
|
||||
const targetId = ref("");
|
||||
const targetSrc = ref("");
|
||||
const arrows = ref([]);
|
||||
|
||||
@@ -42,6 +43,7 @@ onLoad(async (options) => {
|
||||
const config = uni.getStorageSync("point-book-config");
|
||||
config.targetOption.some((item) => {
|
||||
if (item.id === result.targetType) {
|
||||
targetId.value = item.id;
|
||||
targetSrc.value = item.icon;
|
||||
}
|
||||
});
|
||||
@@ -122,7 +124,7 @@ onLoad(async (options) => {
|
||||
/>
|
||||
</button>
|
||||
</view>
|
||||
<BowTargetEdit :src="targetSrc" :arrows="arrows" />
|
||||
<BowTargetEdit :id="targetId" :src="targetSrc" :arrows="arrows" />
|
||||
<view :style="{ marginTop: '20px' }">
|
||||
<SButton :onClick="goBack" :rounded="50">关闭</SButton>
|
||||
</view>
|
||||
|
||||
Reference in New Issue
Block a user