12345678910111213141516171819202122232425 |
- define([
- 'store/index',
- 'text!./index.html',
- 'css!./index.css'
- ], function(store, html) {
- return {
- props: {
- agreeContent: {
- type: Object,
- default: function () {
- return {};
- }
- }
- },
- data: function () {
- return store.state;
- },
- methods: {
- agreeClose: function () {
- store.setAgreeAction(false);
- }
- },
- template: html
- };
- });
|