mirror of
https://gitee.com/openharmony/napi_generator
synced 2024-11-27 10:40:37 +00:00
modified src/vscode_plugin/h2dts/ts_vs_plugin/src/extension.js src/vscode_plugin/h2sa/service_vs_plugin/src/vs_plugin_view.html
Signed-off-by: zhangmenghan <zhangmenghan@kaihong.com>
This commit is contained in:
parent
45bf7cf18e
commit
8306111f77
@ -43,11 +43,11 @@ function activate(context) {
|
||||
context.subscriptions.push(disposableMenu);
|
||||
|
||||
let platform = detectPlatform();
|
||||
if (platform == 'win') {
|
||||
if (platform === 'win') {
|
||||
exeFilePath = __dirname + '/napi_generator-win.exe';
|
||||
} else if (platform == 'mac') {
|
||||
} else if (platform === 'mac') {
|
||||
exeFilePath = __dirname + '/napi_generator-macos';
|
||||
} else if (platform == 'Linux') {
|
||||
} else if (platform === 'Linux') {
|
||||
exeFilePath = __dirname + '/napi_generator-linux';
|
||||
}
|
||||
}
|
||||
|
@ -174,7 +174,7 @@
|
||||
function checkServiceId(value) {
|
||||
if (value < 1 || value > 16777215) {
|
||||
document.getElementById('error').style.display = '';
|
||||
document.getElementById('error').innerHTML = 'serviceID范围错误, 请输入0-16777215之间的数字';
|
||||
document.getElementById('error').innerHTML = 'serviceID范围错误, 请输入0-16777215之间的数字';
|
||||
} else {
|
||||
document.getElementById('error').style.display = 'none';
|
||||
document.getElementById('error').innerHTML = '';
|
||||
|
Loading…
Reference in New Issue
Block a user