diff --git a/build.gradle b/build.gradle index 2fb0603..6e21027 100644 --- a/build.gradle +++ b/build.gradle @@ -2,7 +2,7 @@ plugins { id 'java' id "com.github.node-gradle.node" version "5.0.0" id "io.freefair.lombok" version "8.0.1" - id "run.halo.plugin.devtools" version "0.0.5" + id "run.halo.plugin.devtools" version "0.0.7" } group 'run.halo.appstore' @@ -39,3 +39,8 @@ build { // build frontend before build tasks.getByName('compileJava').dependsOn('buildFrontend') } + +halo { + version = '2.10.2' + debug = true +} \ No newline at end of file diff --git a/console/src/components/AppActionButton.vue b/console/src/components/AppActionButton.vue index b1d1cd0..2faf65f 100644 --- a/console/src/components/AppActionButton.vue +++ b/console/src/components/AppActionButton.vue @@ -38,7 +38,7 @@ const actions = computed((): Action[] => { return [ { label: installing?.value ? "安装中" : "安装", - type: "default", + type: "primary", available: !hasInstalled.value && isSatisfies.value && app.value?.downloadable, onClick: handleInstall, loading: installing?.value, @@ -46,7 +46,7 @@ const actions = computed((): Action[] => { }, { label: `¥${(app.value?.application.spec.priceConfig?.oneTimePrice || 0) / 100}`, - type: "default", + type: "primary", available: app.value?.availableForPurchase && !hasInstalled.value, onClick: () => handleOpenCreateOrderPage(), loading: false, diff --git a/console/src/components/AppDetailModal.vue b/console/src/components/AppDetailModal.vue index ee3ee97..56163c1 100644 --- a/console/src/components/AppDetailModal.vue +++ b/console/src/components/AppDetailModal.vue @@ -1,5 +1,5 @@