|
@@ -3,7 +3,7 @@ import {
|
|
|
} from "vue"
|
|
|
import {getUserIdentity} from "@/utils/common.js"
|
|
|
|
|
|
-export function useSwiper(Da, noticeYK) {
|
|
|
+export function useSwiper(Da, callBack) {
|
|
|
|
|
|
const userCode = getUserIdentity()
|
|
|
|
|
@@ -38,8 +38,8 @@ export function useSwiper(Da, noticeYK) {
|
|
|
}
|
|
|
} else {
|
|
|
swiperData.isAllowed = false;
|
|
|
- noticeYK(userCode)
|
|
|
}
|
|
|
+ callBack && callBack(userCode)
|
|
|
}
|
|
|
|
|
|
// 4. 业务条件校验(示例)
|