智能照明系统APP-本地串口
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
LightingSystemApp-serial/.svn/pristine/b1/b1064b604374b3001a7fd4cb571...

26 lines
436 B

3 years ago
export function previewImage ({
urls,
current
}, callbackId) {
const {
invokeCallbackHandler: invoke
} = UniServiceJSBridge
getApp().$router.push({
type: 'navigateTo',
path: '/preview-image',
params: {
urls,
current
}
}, function () {
invoke(callbackId, {
errMsg: 'previewImage:ok'
})
}, function () {
invoke(callbackId, {
errMsg: 'previewImage:fail'
})
})
}