You need to sign in or sign up before continuing.
提交 b3a64d97 编写于 作者: 辛宝Otto's avatar 辛宝Otto 🥊

fix: 排除 uts 组件中 web 端

上级 64f45370
...@@ -21,7 +21,10 @@ ...@@ -21,7 +21,10 @@
<script setup lang="uts"> <script setup lang="uts">
import { testInOtherFile } from './call-method-easycom-uni-modules' import { testInOtherFile } from './call-method-easycom-uni-modules'
import { ref, isProxy, isRef } from 'vue' import { ref, isProxy, isRef } from 'vue'
// #ifdef APP
import { PropsChangeEvent } from '@/uni_modules/test-props' import { PropsChangeEvent } from '@/uni_modules/test-props'
// #endif
const delay = () : Promise<string> => const delay = () : Promise<string> =>
new Promise((resolve, _) => { new Promise((resolve, _) => {
......
...@@ -21,7 +21,6 @@ ...@@ -21,7 +21,6 @@
<script lang="uts"> <script lang="uts">
import { testInOtherFile } from './call-method-easycom-uni-modules' import { testInOtherFile } from './call-method-easycom-uni-modules'
import { isProxy, isRef, isReactive } from 'vue'
const delay = () : Promise<string> => const delay = () : Promise<string> =>
new Promise((resolve, _) => { new Promise((resolve, _) => {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册