@ray-js/ray-ipc-utils 1.1.7 → 1.1.8-beta-1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/service/index.js +0 -10
- package/package.json +1 -1
package/lib/service/index.js
CHANGED
|
@@ -415,16 +415,6 @@ export const addCollectionPointsInfo = async (deviceId, name) => {
|
|
|
415
415
|
}
|
|
416
416
|
// 2. 获取收藏点 dpCode: memory_point_set
|
|
417
417
|
const memoryPointSetDpId = await getDpIdByCode(deviceId, 'memory_point_set');
|
|
418
|
-
if ((cruiseSwitchInfo === null || cruiseSwitchInfo === void 0 ? void 0 : cruiseSwitchInfo.code) === -1) {
|
|
419
|
-
ty.showToast({
|
|
420
|
-
icon: 'error',
|
|
421
|
-
title: cruiseSwitchInfo.msg
|
|
422
|
-
});
|
|
423
|
-
return {
|
|
424
|
-
code: -1,
|
|
425
|
-
msg: cruiseSwitchInfo.msg
|
|
426
|
-
};
|
|
427
|
-
}
|
|
428
418
|
if (_trim(name) === '') {
|
|
429
419
|
ty.showToast({
|
|
430
420
|
icon: 'error',
|