refactor: 确立独立子工程架构 (backend, admin, mpuniapp) 并同步更新 AGENTS.md 规范
这个提交包含在:
@@ -0,0 +1,39 @@
|
||||
<template>
|
||||
<view>
|
||||
</view>
|
||||
</template>
|
||||
|
||||
<script setup>
|
||||
type Data = {
|
||||
urls : Array<string>
|
||||
indicatorType : string
|
||||
}
|
||||
const data = {
|
||||
urls: [],
|
||||
indicatorType: "number"
|
||||
} as Data
|
||||
|
||||
function testPreviewImage() {
|
||||
uni.previewImage({
|
||||
urls: data.urls,
|
||||
// #ifdef APP
|
||||
indicator: data.indicatorType,
|
||||
// #endif
|
||||
complete() {
|
||||
}
|
||||
})
|
||||
}
|
||||
const testClosePreviewImage = () => {
|
||||
uni.closePreviewImage({})
|
||||
}
|
||||
|
||||
defineExpose({
|
||||
data,
|
||||
testPreviewImage,
|
||||
testClosePreviewImage
|
||||
})
|
||||
</script>
|
||||
|
||||
<style>
|
||||
|
||||
</style>
|
||||
在新工单中引用
屏蔽一个用户