Skip to content

Commit

Permalink
fix: 移除helper接口
Browse files Browse the repository at this point in the history
  • Loading branch information
Kaviilee committed Feb 21, 2024
1 parent ae659cb commit 6591e5a
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 4 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"update": "npm --registry https://registry.npmjs.org install @jx3box/jx3box-common@latest"
},
"dependencies": {
"@jx3box/jx3box-common": "^7.9.13",
"@jx3box/jx3box-common": "^8.2.7",
"@jx3box/jx3box-common-ui": "^5.6.8",
"axios": "^0.19.2",
"core-js": "^3.4.3",
Expand Down
6 changes: 3 additions & 3 deletions src/components/Msg.vue
Original file line number Diff line number Diff line change
Expand Up @@ -3,16 +3,16 @@
</template>

<script>
import { getBread } from "@jx3box/jx3box-common/js/helper";
import { getBreadcrumb } from "@jx3box/jx3box-common/js/api_misc";
export default {
data: function() {
return {
data: "",
};
},
mounted: function() {
getBread("account").then((res) => {
this.data = res.data.data.breadcrumb.html;
getBreadcrumb("account").then((res) => {
this.data = res
});
},
};
Expand Down
9 changes: 9 additions & 0 deletions vue.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,15 @@ module.exports = {
// },
},

//❤️ Porxy ~
devServer: {
proxy: {
"/api/cms": {
target: process.env["DEV_SERVER"] == "true" ? "http://localhost:7100" : "https://cms.jx3box.com",
},
}
},

//❤️ define path for static files ~
publicPath:
//FOR Localhost => development
Expand Down

0 comments on commit 6591e5a

Please sign in to comment.