refactor: 确立独立子工程架构 (backend, admin, mpuniapp) 并同步更新 AGENTS.md 规范
这个提交包含在:
@@ -0,0 +1,29 @@
|
||||
<template>
|
||||
<web-view :src="src" :update-title="updateTitle"></web-view>
|
||||
</template>
|
||||
|
||||
<script setup lang="uts">
|
||||
|
||||
|
||||
const src = ref('')
|
||||
const updateTitle = ref(true)
|
||||
|
||||
onLoad((options : OnLoadOptions) => {
|
||||
if (typeof options['url'] === 'string' && options['url']!.length > 0) {
|
||||
const srcValue = decodeURIComponent(options['url'] as string)
|
||||
if (srcValue != null) {
|
||||
src.value = srcValue
|
||||
}
|
||||
}
|
||||
if (typeof options['title'] === 'string' && options['title']!.length > 0) {
|
||||
updateTitle.value = false;
|
||||
uni.setNavigationBarTitle({
|
||||
title: options['title']!
|
||||
});
|
||||
}
|
||||
})
|
||||
</script>
|
||||
|
||||
<style>
|
||||
|
||||
</style>
|
||||
在新工单中引用
屏蔽一个用户