|
|
@@ -96,6 +96,7 @@ import Tbutton from './components/tbutton.vue';
|
|
|
import Height from '@/components/layout/space/Height.vue';
|
|
|
import type { UploaderAction, UploaderItem } from '@/components/form/Uploader';
|
|
|
import { back, backAndCallOnPageBack } from '@/components/utils/PageAction';
|
|
|
+import { confirm as uniConfirm } from '@/components/utils/DialogAction';
|
|
|
import LightVillageApi from '@/api/light/LightVillageApi';
|
|
|
import Button from '@/components/basic/Button.vue';
|
|
|
|
|
|
@@ -104,8 +105,11 @@ const { querys } = useLoadQuerys({
|
|
|
villageId: 0,
|
|
|
}, () => {
|
|
|
|
|
|
- if (!(uni as any).shareToOfficialAccount) {
|
|
|
- alert({
|
|
|
+ const info = uni.getSystemInfoSync();
|
|
|
+ console.log(info.platform);
|
|
|
+
|
|
|
+ if (!(uni as any).shareToOfficialAccount || (info.platform !== 'android' && info.platform !== 'ios')) {
|
|
|
+ uniConfirm({
|
|
|
title: '提示',
|
|
|
content: '抱歉,微信目前不支持在电脑端编写贴图,您可以在手机版微信中编写贴图哦!',
|
|
|
}).then(() => {
|